Drupal\locale\LocaleProjectStorageInterface |
service |
core/modules/locale/locale.services.yml |
|
LocaleProjectStorage |
class |
core/modules/locale/src/LocaleProjectStorage.php |
Provides the locale project storage system using a key value store. |
LocaleProjectStorage.php |
file |
core/modules/locale/src/LocaleProjectStorage.php |
|
LocaleProjectStorage::$all |
property |
core/modules/locale/src/LocaleProjectStorage.php |
Cache status flag. |
LocaleProjectStorage::$cache |
property |
core/modules/locale/src/LocaleProjectStorage.php |
Static state cache. |
LocaleProjectStorage::$keyValueStore |
property |
core/modules/locale/src/LocaleProjectStorage.php |
The key value store to use. |
LocaleProjectStorage::$sorted |
property |
core/modules/locale/src/LocaleProjectStorage.php |
Sorted status flag. |
LocaleProjectStorage::countProjects |
function |
core/modules/locale/src/LocaleProjectStorage.php |
|
LocaleProjectStorage::delete |
function |
core/modules/locale/src/LocaleProjectStorage.php |
|
LocaleProjectStorage::deleteAll |
function |
core/modules/locale/src/LocaleProjectStorage.php |
|
LocaleProjectStorage::deleteMultiple |
function |
core/modules/locale/src/LocaleProjectStorage.php |
|
LocaleProjectStorage::disableAll |
function |
core/modules/locale/src/LocaleProjectStorage.php |
|
LocaleProjectStorage::get |
function |
core/modules/locale/src/LocaleProjectStorage.php |
|
LocaleProjectStorage::getAll |
function |
core/modules/locale/src/LocaleProjectStorage.php |
|
LocaleProjectStorage::getMultiple |
function |
core/modules/locale/src/LocaleProjectStorage.php |
|
LocaleProjectStorage::resetCache |
function |
core/modules/locale/src/LocaleProjectStorage.php |
|
LocaleProjectStorage::set |
function |
core/modules/locale/src/LocaleProjectStorage.php |
|
LocaleProjectStorage::setMultiple |
function |
core/modules/locale/src/LocaleProjectStorage.php |
|
LocaleProjectStorage::__construct |
function |
core/modules/locale/src/LocaleProjectStorage.php |
Constructs a State object. |
LocaleProjectStorageInterface |
interface |
core/modules/locale/src/LocaleProjectStorageInterface.php |
Defines the locale project storage interface. |
LocaleProjectStorageInterface.php |
file |
core/modules/locale/src/LocaleProjectStorageInterface.php |
|
LocaleProjectStorageInterface::countProjects |
function |
core/modules/locale/src/LocaleProjectStorageInterface.php |
Returns the count of project records. |
LocaleProjectStorageInterface::delete |
function |
core/modules/locale/src/LocaleProjectStorageInterface.php |
Deletes project records for a given key. |
LocaleProjectStorageInterface::deleteAll |
function |
core/modules/locale/src/LocaleProjectStorageInterface.php |
Deletes all projects records. |
LocaleProjectStorageInterface::deleteMultiple |
function |
core/modules/locale/src/LocaleProjectStorageInterface.php |
Deletes multiple project records. |
LocaleProjectStorageInterface::disableAll |
function |
core/modules/locale/src/LocaleProjectStorageInterface.php |
Mark all projects as disabled. |
LocaleProjectStorageInterface::get |
function |
core/modules/locale/src/LocaleProjectStorageInterface.php |
Returns the stored value for a given key. |
LocaleProjectStorageInterface::getAll |
function |
core/modules/locale/src/LocaleProjectStorageInterface.php |
Returns all the project records. |
LocaleProjectStorageInterface::getMultiple |
function |
core/modules/locale/src/LocaleProjectStorageInterface.php |
Returns a list of project records. |
LocaleProjectStorageInterface::resetCache |
function |
core/modules/locale/src/LocaleProjectStorageInterface.php |
Resets the project storage cache. |
LocaleProjectStorageInterface::set |
function |
core/modules/locale/src/LocaleProjectStorageInterface.php |
Creates or updates the project record. |
LocaleProjectStorageInterface::setMultiple |
function |
core/modules/locale/src/LocaleProjectStorageInterface.php |
Creates or updates multiple project records. |
LocaleProjectStorageTest |
class |
core/modules/locale/tests/src/Unit/LocaleProjectStorageTest.php |
@coversDefaultClass \Drupal\locale\LocaleProjectStorage
@group locale
@runTestsInSeparateProcesses |
LocaleProjectStorageTest.php |
file |
core/modules/locale/tests/src/Unit/LocaleProjectStorageTest.php |
|
LocaleProjectStorageTest::$keyValueMemoryFactory |
property |
core/modules/locale/tests/src/Unit/LocaleProjectStorageTest.php |
|
LocaleProjectStorageTest::$projectStorage |
property |
core/modules/locale/tests/src/Unit/LocaleProjectStorageTest.php |
|
LocaleProjectStorageTest::setUp |
function |
core/modules/locale/tests/src/Unit/LocaleProjectStorageTest.php |
|
LocaleProjectStorageTest::testDelete |
function |
core/modules/locale/tests/src/Unit/LocaleProjectStorageTest.php |
Tests deleted projects are not included in the count. |
LocaleProjectStorageTest::testSorting |
function |
core/modules/locale/tests/src/Unit/LocaleProjectStorageTest.php |
Tests that projects are sorted by weight and key. |
LocaleTranslationProjectsTest::$projectStorage |
property |
core/modules/locale/tests/src/Kernel/LocaleTranslationProjectsTest.php |
The locale project storage used in this test. |
UpdateManager::projectStorage |
function |
core/modules/update/src/UpdateManager.php |
|
UpdateManagerInterface::projectStorage |
function |
core/modules/update/src/UpdateManagerInterface.php |
Retrieves update storage data or empties it. |