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 10.3.x for all
  5. Search 11.x for all
  6. Other projects
Title Object type File name Summary
PluginWithFormsInterface.php file core/lib/Drupal/Core/Plugin/PluginWithFormsInterface.php
PluginWithFormsInterface::getFormClass function core/lib/Drupal/Core/Plugin/PluginWithFormsInterface.php Gets the form class for the given operation.
PluginWithFormsInterface::hasFormClass function core/lib/Drupal/Core/Plugin/PluginWithFormsInterface.php Gets whether the plugin has a form class for the given operation.
PluginWithFormsTrait trait core/lib/Drupal/Core/Plugin/PluginWithFormsTrait.php Provides a trait with typical behavior for plugins which have forms.
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
plugin_test.info.yml file core/modules/system/tests/modules/plugin_test/plugin_test.info.yml core/modules/system/tests/modules/plugin_test/plugin_test.info.yml
plugin_test_extended.info.yml file core/modules/system/tests/modules/plugin_test_extended/plugin_test_extended.info.yml core/modules/system/tests/modules/plugin_test_extended/plugin_test_extended.info.yml
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
PluralTranslatableMarkup class core/lib/Drupal/Core/StringTranslation/PluralTranslatableMarkup.php A class to hold plural translatable markup.
PluralTranslatableMarkup.php file core/lib/Drupal/Core/StringTranslation/PluralTranslatableMarkup.php
PluralTranslatableMarkup::$count property core/lib/Drupal/Core/StringTranslation/PluralTranslatableMarkup.php The item count to display.
PluralTranslatableMarkup::$translatedString property core/lib/Drupal/Core/StringTranslation/PluralTranslatableMarkup.php The already translated string.
PluralTranslatableMarkup::createFromTranslatedString function core/lib/Drupal/Core/StringTranslation/PluralTranslatableMarkup.php Constructs a new class instance from already translated markup.
PluralTranslatableMarkup::getPluralIndex function core/lib/Drupal/Core/StringTranslation/PluralTranslatableMarkup.php Gets the plural index through the gettext formula.
PluralTranslatableMarkup::render function core/lib/Drupal/Core/StringTranslation/PluralTranslatableMarkup.php Renders the object as a string.
PluralTranslatableMarkup::__construct function core/lib/Drupal/Core/StringTranslation/PluralTranslatableMarkup.php Constructs a new PluralTranslatableMarkup object.
PluralTranslatableMarkup::__sleep function core/lib/Drupal/Core/StringTranslation/PluralTranslatableMarkup.php
PluralTranslatableMarkupTest class core/tests/Drupal/Tests/Core/StringTranslation/PluralTranslatableMarkupTest.php Tests the TranslatableMarkup class.
PluralTranslatableMarkupTest.php file core/tests/Drupal/Tests/Core/StringTranslation/PluralTranslatableMarkupTest.php
PluralTranslatableMarkupTest::providerPluralTranslatableMarkupSerialization function core/tests/Drupal/Tests/Core/StringTranslation/PluralTranslatableMarkupTest.php Data provider for ::testPluralTranslatableMarkupSerialization().
PluralTranslatableMarkupTest::testMissingPluralTranslation function core/tests/Drupal/Tests/Core/StringTranslation/PluralTranslatableMarkupTest.php Tests when the plural translation is missing.
PluralTranslatableMarkupTest::testPluralTranslatableMarkupSerialization function core/tests/Drupal/Tests/Core/StringTranslation/PluralTranslatableMarkupTest.php Tests serialization of PluralTranslatableMarkup().
PluralTranslation class core/lib/Drupal/Core/Annotation/PluralTranslation.php Defines an annotation object for strings that require plural forms.
PluralTranslation.php file core/lib/Drupal/Core/Annotation/PluralTranslation.php
PluralTranslation::$context property core/lib/Drupal/Core/Annotation/PluralTranslation.php The context the source strings belong to.
PluralTranslation::$plural property core/lib/Drupal/Core/Annotation/PluralTranslation.php The string for the plural case.
PluralTranslation::$singular property core/lib/Drupal/Core/Annotation/PluralTranslation.php The string for the singular case.

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