Search for all
- Search 7.x for all
- Search 8.9.x for all
- Search 10.3.x for all
- Search 11.x for all
- Search main for all
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| plugin_test.info.yml | file | core/ |
core/modules/system/tests/modules/plugin_test/plugin_test.info.yml |
| plugin_test.module | file | core/ |
Helper module for the plugin tests. |
| plugin_test_extended.info.yml | file | core/ |
core/modules/system/tests/modules/plugin_test_extended/plugin_test_extended.info.yml |
| plugin_test_plugin_test_alter | function | core/ |
Implements hook_plugin_test_alter(). |
| plugin_test_test_plugin_info | function | core/ |
Implements hook_test_plugin_info(). |
| PluralFormula | class | core/ |
Manages the storage of plural formula per language in state. |
| PluralFormula.php | file | core/ |
|
| PluralFormula::$formulae | property | core/ |
The plural formula and count keyed by langcode. |
| PluralFormula::$languageManager | property | core/ |
|
| PluralFormula::$state | property | core/ |
|
| PluralFormula::getFormula | function | core/ |
Gets the plural formula for a langcode. |
| PluralFormula::getNumberOfPlurals | function | core/ |
Returns the number of plurals supported by a given language. |
| PluralFormula::loadFormulae | function | core/ |
Loads the formulae and stores them on the PluralFormula object if not set. |
| PluralFormula::reset | function | core/ |
Resets the static formulae cache. |
| PluralFormula::setPluralFormula | function | core/ |
|
| PluralFormula::__construct | function | core/ |
|
| PluralFormulaInterface | interface | core/ |
An interface for a service providing plural formulae. |
| PluralFormulaInterface.php | file | core/ |
|
| PluralFormulaInterface::getFormula | function | core/ |
Gets the plural formula for a langcode. |
| PluralFormulaInterface::getNumberOfPlurals | function | core/ |
Returns the number of plurals supported by a given language. |
| PluralFormulaInterface::reset | function | core/ |
Resets the static formulae cache. |
| PluralFormulaInterface::setPluralFormula | function | core/ |
|
| PluralTranslatableMarkup | class | core/ |
A class to hold plural translatable markup. |
| PluralTranslatableMarkup.php | file | core/ |
|
| PluralTranslatableMarkup::$count | property | core/ |
The item count to display. |
| PluralTranslatableMarkup::$translatedString | property | core/ |
The already translated string. |
| PluralTranslatableMarkup::createFromTranslatedString | function | core/ |
Constructs a new class instance from already translated markup. |
| PluralTranslatableMarkup::getPluralIndex | function | core/ |
Gets the plural index through the gettext formula. |
| PluralTranslatableMarkup::render | function | core/ |
Renders the object as a string. |
| PluralTranslatableMarkup::__construct | function | core/ |
Constructs a new PluralTranslatableMarkup object. |
| PluralTranslatableMarkup::__sleep | function | core/ |
Magic __sleep() method to avoid serializing the string translator. |
| PluralTranslatableMarkupTest | class | core/ |
Tests the TranslatableMarkup class. |
| PluralTranslatableMarkupTest.php | file | core/ |
|
| PluralTranslatableMarkupTest::providerPluralTranslatableMarkupSerialization | function | core/ |
Data provider for ::testPluralTranslatableMarkupSerialization(). |
| PluralTranslatableMarkupTest::testPluralTranslatableMarkupSerialization | function | core/ |
Tests serialization of PluralTranslatableMarkup(). |
| PluralTranslation | class | core/ |
Defines an annotation object for strings that require plural forms. |
| PluralTranslation.php | file | core/ |
|
| PluralTranslation::$context | property | core/ |
The context the source strings belong to. |
| PluralTranslation::$plural | property | core/ |
The string for the plural case. |
| PluralTranslation::$singular | property | core/ |
The string for the singular case. |
| PluralTranslation::get | function | core/ |
Gets the value of an annotation. |
| PluralTranslation::__construct | function | core/ |
Constructs a new class instance. |
| PluralTranslationTest | class | core/ |
@coversDefaultClass \Drupal\Core\Annotation\PluralTranslation[[api-linebreak]] @group Annotation |
| PluralTranslationTest.php | file | core/ |
|
| PluralTranslationTest::providerTestGet | function | core/ |
Provides data to self::testGet(). |
| PluralTranslationTest::providerTestMissingData | function | core/ |
|
| PluralTranslationTest::testGet | function | core/ |
@covers ::get[[api-linebreak]] |
| PluralTranslationTest::testMissingData | function | core/ |
@dataProvider providerTestMissingData |
| PluralVariants | class | core/ |
Defines form elements for plurals in configuration translation. |
| PluralVariants.php | file | core/ |
Pagination
- Previous page
- Page 1171
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.