LocaleProjectStorageInterface
interface LocaleProjectStorageInterface (View source)
Defines the locale project storage interface.
Methods
Returns the stored value for a given key.
Returns a list of project records.
Creates or updates the project record.
Creates or updates multiple project records.
Deletes project records for a given key.
Deletes multiple project records.
Returns all the project records.
Deletes all projects records.
Mark all projects as disabled.
Resets the project storage cache.
Returns the count of project records.
Details
mixed
get(string $key, mixed $default = NULL)
Returns the stored value for a given key.
array
getMultiple(array $keys)
Returns a list of project records.
set(string $key, mixed $value)
Creates or updates the project record.
setMultiple(array $data)
Creates or updates multiple project records.
delete(string $key)
Deletes project records for a given key.
deleteMultiple(array $keys)
Deletes multiple project records.
array
getAll()
Returns all the project records.
array
deleteAll()
Deletes all projects records.
disableAll()
Mark all projects as disabled.
resetCache()
Resets the project storage cache.
int
countProjects()
Returns the count of project records.