Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 11.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
LocalePluralFormatTest::getPoFileWithSimplePlural function core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php Returns a .po file with a simple plural formula.
LocalePluralFormatTest::importPoFile function core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php Imports a standalone .po file in a given language.
LocalePluralFormatTest::setUp function core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php
LocalePluralFormatTest::testGetPluralFormat function core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php Tests locale_get_plural() and \Drupal::translation()->formatPlural().
LocalePluralFormatTest::testPluralEditDateFormatter function core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php Tests plural editing of DateFormatter strings.
LocalePluralFormatTest::testPluralEditExport function core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php Tests plural editing and export functionality.
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 Returns the count of project records.
LocaleProjectStorage::delete function core/modules/locale/src/LocaleProjectStorage.php Deletes project records for a given key.
LocaleProjectStorage::deleteAll function core/modules/locale/src/LocaleProjectStorage.php Deletes all projects records.
LocaleProjectStorage::deleteMultiple function core/modules/locale/src/LocaleProjectStorage.php Deletes multiple project records.
LocaleProjectStorage::disableAll function core/modules/locale/src/LocaleProjectStorage.php Mark all projects as disabled.
LocaleProjectStorage::get function core/modules/locale/src/LocaleProjectStorage.php Returns the stored value for a given key.
LocaleProjectStorage::getAll function core/modules/locale/src/LocaleProjectStorage.php Returns all the project records.
LocaleProjectStorage::getMultiple function core/modules/locale/src/LocaleProjectStorage.php Returns a list of project records.
LocaleProjectStorage::resetCache function core/modules/locale/src/LocaleProjectStorage.php Resets the project storage cache.
LocaleProjectStorage::set function core/modules/locale/src/LocaleProjectStorage.php Creates or updates the project record.
LocaleProjectStorage::setMultiple function core/modules/locale/src/LocaleProjectStorage.php Creates or updates multiple project records.
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[[api-linebreak]]
@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.
LocaleSettingsForm class core/modules/locale/src/Form/LocaleSettingsForm.php Configure locale settings for this site.
LocaleSettingsForm.php file core/modules/locale/src/Form/LocaleSettingsForm.php
LocaleSettingsForm::buildForm function core/modules/locale/src/Form/LocaleSettingsForm.php Form constructor.
LocaleSettingsForm::getEditableConfigNames function core/modules/locale/src/Form/LocaleSettingsForm.php Gets the configuration names that will be editable.
LocaleSettingsForm::getFormId function core/modules/locale/src/Form/LocaleSettingsForm.php Returns a unique string identifying the form.
LocaleSettingsForm::submitForm function core/modules/locale/src/Form/LocaleSettingsForm.php Form submission handler.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.