Search for %s
- Search 7.x for %s
- Search 8.9.x for %s
- Search 10.3.x for %s
- Search 11.x for %s
- Search main for %s
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| 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/ |
|
| PluralVariants::getSourceElement | function | core/ |
Returns the source element for a given configuration definition. |
| PluralVariants::getTranslationElement | function | core/ |
Returns the translation form element for a given configuration definition. |
| PluralVariants::setConfig | function | core/ |
Sets configuration based on a nested form value array. |
| PoDatabaseReader | class | core/ |
Gettext PO reader working with the locale module database. |
| PoDatabaseReader.php | file | core/ |
|
| PoDatabaseReader::$langcode | property | core/ |
Language code of the language being read from the database. |
| PoDatabaseReader::$options | property | core/ |
An associative array indicating which type of strings should be read. |
| PoDatabaseReader::$result | property | core/ |
Store the result of the query so it can be iterated later. |
| PoDatabaseReader::getHeader | function | core/ |
Get header metadata. |
| PoDatabaseReader::getLangcode | function | core/ |
Get language code. |
| PoDatabaseReader::getOptions | function | core/ |
Get the options used by the reader. |
| PoDatabaseReader::loadStrings | function | core/ |
Builds and executes a database query based on options set earlier. |
| PoDatabaseReader::readItem | function | core/ |
Reads and returns a PoItem (source/translation pair). |
| PoDatabaseReader::readString | function | core/ |
Get the database result resource for the given language and options. |
| PoDatabaseReader::setHeader | function | core/ |
Implements Drupal\Component\Gettext\PoMetadataInterface::setHeader(). |
| PoDatabaseReader::setLangcode | function | core/ |
Set language code. |
| PoDatabaseReader::setOptions | function | core/ |
Set the options for the current reader. |
| PoDatabaseReader::__construct | function | core/ |
Constructor, initializes with default options. |
| PoDatabaseWriter | class | core/ |
Gettext PO writer working with the locale module database. |
Pagination
- Previous page
- Page 983
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.