Search for all
- Search 7.x for all
- Search 9.5.x for all
- Search 8.9.x for all
- Search 10.3.x for all
- Search 11.x for all
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| PluginWithFormsInterface.php | file | core/ |
|
| PluginWithFormsInterface::getFormClass | function | core/ |
Gets the form class for the given operation. |
| PluginWithFormsInterface::hasFormClass | function | core/ |
Gets whether the plugin has a form class for the given operation. |
| PluginWithFormsTrait | trait | core/ |
Provides a trait with typical behavior for plugins which have forms. |
| PluginWithFormsTrait.php | file | core/ |
|
| PluginWithFormsTrait::getFormClass | function | core/ |
Implements \Drupal\Core\Plugin\PluginWithFormsInterface::getFormClass(). |
| PluginWithFormsTrait::hasFormClass | function | core/ |
Implements \Drupal\Core\Plugin\PluginWithFormsInterface::hasFormClass(). |
| PluginWithFormsTraitTest | class | core/ |
Tests Drupal\Core\Plugin\PluginWithFormsTrait. |
| PluginWithFormsTraitTest.php | file | core/ |
|
| PluginWithFormsTraitTest::providerGetFormClass | function | core/ |
|
| PluginWithFormsTraitTest::testGetFormClass | function | core/ |
Tests get form class. |
| plugin_form.factory | service | core/ |
Drupal\Core\Plugin\PluginFormFactory |
| plugin_test.info.yml | file | core/ |
core/modules/system/tests/modules/plugin_test/plugin_test.info.yml |
| plugin_test_extended.info.yml | file | core/ |
core/modules/system/tests/modules/plugin_test_extended/plugin_test_extended.info.yml |
| 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/ |
|
| PluralTranslatableMarkupTest | class | core/ |
Tests the TranslatableMarkup class. |
| PluralTranslatableMarkupTest.php | file | core/ |
|
| PluralTranslatableMarkupTest::providerPluralTranslatableMarkupSerialization | function | core/ |
Data provider for ::testPluralTranslatableMarkupSerialization(). |
| PluralTranslatableMarkupTest::testMissingPluralTranslation | function | core/ |
Tests when the plural translation is missing. |
| 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. |
Pagination
- Previous page
- Page 1278
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.