| PluginWithFormsTrait.php |
file |
core/lib/Drupal/Core/Plugin/PluginWithFormsTrait.php |
|
| PluginWithFormsTrait::getFormClass |
function |
core/lib/Drupal/Core/Plugin/PluginWithFormsTrait.php |
Implements \Drupal\Core\Plugin\PluginWithFormsInterface::getFormClass(). |
| PluginWithFormsTrait::hasFormClass |
function |
core/lib/Drupal/Core/Plugin/PluginWithFormsTrait.php |
Implements \Drupal\Core\Plugin\PluginWithFormsInterface::hasFormClass(). |
| PluginWithFormsTraitTest |
class |
core/tests/Drupal/Tests/Core/Plugin/PluginWithFormsTraitTest.php |
Tests Drupal\Core\Plugin\PluginWithFormsTrait. |
| PluginWithFormsTraitTest.php |
file |
core/tests/Drupal/Tests/Core/Plugin/PluginWithFormsTraitTest.php |
|
| PluginWithFormsTraitTest::providerGetFormClass |
function |
core/tests/Drupal/Tests/Core/Plugin/PluginWithFormsTraitTest.php |
|
| PluginWithFormsTraitTest::testGetFormClass |
function |
core/tests/Drupal/Tests/Core/Plugin/PluginWithFormsTraitTest.php |
Tests get form class. |
| plugin_form.factory |
service |
core/core.services.yml |
Drupal\Core\Plugin\PluginFormFactory |
| PluralFormula |
class |
core/modules/locale/src/PluralFormula.php |
Manages the storage of plural formula per language in state. |
| PluralFormula.php |
file |
core/modules/locale/src/PluralFormula.php |
|
| PluralFormula::$formulae |
property |
core/modules/locale/src/PluralFormula.php |
The plural formula and count keyed by langcode. |
| PluralFormula::$languageManager |
property |
core/modules/locale/src/PluralFormula.php |
|
| PluralFormula::$state |
property |
core/modules/locale/src/PluralFormula.php |
|
| PluralFormula::getFormula |
function |
core/modules/locale/src/PluralFormula.php |
Gets the plural formula for a langcode. |
| PluralFormula::getNumberOfPlurals |
function |
core/modules/locale/src/PluralFormula.php |
Returns the number of plurals supported by a given language. |
| PluralFormula::loadFormulae |
function |
core/modules/locale/src/PluralFormula.php |
Loads the formulae and stores them on the PluralFormula object if not set. |
| PluralFormula::reset |
function |
core/modules/locale/src/PluralFormula.php |
Resets the static formulae cache. |
| PluralFormula::setPluralFormula |
function |
core/modules/locale/src/PluralFormula.php |
|
| PluralFormula::__construct |
function |
core/modules/locale/src/PluralFormula.php |
|
| PluralFormulaInterface |
interface |
core/modules/locale/src/PluralFormulaInterface.php |
An interface for a service providing plural formulae. |
| PluralFormulaInterface.php |
file |
core/modules/locale/src/PluralFormulaInterface.php |
|
| PluralFormulaInterface::getFormula |
function |
core/modules/locale/src/PluralFormulaInterface.php |
Gets the plural formula for a langcode. |
| PluralFormulaInterface::getNumberOfPlurals |
function |
core/modules/locale/src/PluralFormulaInterface.php |
Returns the number of plurals supported by a given language. |
| PluralFormulaInterface::reset |
function |
core/modules/locale/src/PluralFormulaInterface.php |
Resets the static formulae cache. |
| PluralFormulaInterface::setPluralFormula |
function |
core/modules/locale/src/PluralFormulaInterface.php |
|
| PoHeader::$pluralForms |
property |
core/lib/Drupal/Component/Gettext/PoHeader.php |
Formula for the plural form. |
| PoHeader::getPluralForms |
function |
core/lib/Drupal/Component/Gettext/PoHeader.php |
Gets the plural form. |
| PoHeader::parsePluralForms |
function |
core/lib/Drupal/Component/Gettext/PoHeader.php |
Parses a Plural-Forms entry from a Gettext Portable Object file header. |
| PoHeader::tokenizeFormula |
function |
core/lib/Drupal/Component/Gettext/PoHeader.php |
Tokenize the formula. |
| PoHeaderTest::providerTestPluralsFormula |
function |
core/tests/Drupal/Tests/Component/Gettext/PoHeaderTest.php |
Data provider for testPluralsFormula. |
| PoHeaderTest::testPluralsFormula |
function |
core/tests/Drupal/Tests/Component/Gettext/PoHeaderTest.php |
Tests that plural expressions are evaluated correctly. |
| PoItem::formatItem |
function |
core/lib/Drupal/Component/Gettext/PoItem.php |
Format the POItem as a string. |
| PoItem::formatPlural |
function |
core/lib/Drupal/Component/Gettext/PoItem.php |
Formats a plural translation. |
| PoItem::formatSingular |
function |
core/lib/Drupal/Component/Gettext/PoItem.php |
Formats a singular translation. |
| PoItem::formatString |
function |
core/lib/Drupal/Component/Gettext/PoItem.php |
Formats a string for output on multiple lines. |
| PoItemTest::testFormat |
function |
core/tests/Drupal/Tests/Component/Gettext/PoItemTest.php |
#[DataProvider('providerStrings')] |
| PostgresqlDateSql::getDateFormat |
function |
core/modules/views/src/Plugin/views/query/PostgresqlDateSql.php |
Creates a native database date formatting. |
| PostgresqlDateSqlTest::providerTestGetDateFormat |
function |
core/modules/views/tests/src/Unit/Plugin/views/query/PostgresqlDateSqlTest.php |
Provider for date formatting test. |
| PostgresqlDateSqlTest::testGetDateFormat |
function |
core/modules/views/tests/src/Unit/Plugin/views/query/PostgresqlDateSqlTest.php |
Tests date formatting replacement. |
| PrepareCallbackTestForm |
class |
core/tests/Drupal/Tests/Core/Form/FormStateTest.php |
A test form used for the prepareCallback() tests. |
| PrepareCallbackTestForm::buildForm |
function |
core/tests/Drupal/Tests/Core/Form/FormStateTest.php |
Form constructor. |
| PrepareCallbackTestForm::getFormId |
function |
core/tests/Drupal/Tests/Core/Form/FormStateTest.php |
Returns a unique string identifying the form. |
| PrepareCallbackTestForm::submitForm |
function |
core/tests/Drupal/Tests/Core/Form/FormStateTest.php |
Form submission handler. |
| PrepareCallbackTestForm::validateForm |
function |
core/tests/Drupal/Tests/Core/Form/FormStateTest.php |
Form validation handler. |
| PrepareModulesEntityUninstallForm |
class |
core/modules/system/src/Form/PrepareModulesEntityUninstallForm.php |
Provides a form removing module content entities data before uninstallation. |
| PrepareModulesEntityUninstallForm.php |
file |
core/modules/system/src/Form/PrepareModulesEntityUninstallForm.php |
|
| PrepareModulesEntityUninstallForm::$entityTypeId |
property |
core/modules/system/src/Form/PrepareModulesEntityUninstallForm.php |
The entity type ID of the entities to delete. |
| PrepareModulesEntityUninstallForm::$entityTypeManager |
property |
core/modules/system/src/Form/PrepareModulesEntityUninstallForm.php |
The entity type manager. |
| PrepareModulesEntityUninstallForm::buildForm |
function |
core/modules/system/src/Form/PrepareModulesEntityUninstallForm.php |
Form constructor. |
| PrepareModulesEntityUninstallForm::checkAccess |
function |
core/modules/system/src/Form/PrepareModulesEntityUninstallForm.php |
Checks access based on the validity of the entity type ID. |