| PluginFormFactoryInterface |
interface |
core/lib/Drupal/Core/Plugin/PluginFormFactoryInterface.php |
Provides an interface for retrieving form objects for plugins. |
| PluginFormFactoryInterface.php |
file |
core/lib/Drupal/Core/Plugin/PluginFormFactoryInterface.php |
|
| PluginFormFactoryInterface::createInstance |
function |
core/lib/Drupal/Core/Plugin/PluginFormFactoryInterface.php |
Creates a new form instance. |
| PluginFormFactoryTest |
class |
core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php |
Tests Drupal\Core\Plugin\PluginFormFactory. |
| PluginFormFactoryTest.php |
file |
core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php |
|
| PluginFormFactoryTest::$classResolver |
property |
core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php |
The class resolver. |
| PluginFormFactoryTest::$manager |
property |
core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php |
The manager being tested. |
| PluginFormFactoryTest::setUp |
function |
core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php |
|
| PluginFormFactoryTest::testCreateInstance |
function |
core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php |
Tests create instance. |
| PluginFormFactoryTest::testCreateInstanceDefaultFallback |
function |
core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php |
Tests create instance default fallback. |
| PluginFormFactoryTest::testCreateInstanceDefinitionException |
function |
core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php |
Tests create instance definition exception. |
| PluginFormFactoryTest::testCreateInstanceInvalidException |
function |
core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php |
Tests create instance invalid exception. |
| PluginFormFactoryTest::testCreateInstancePluginAware |
function |
core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php |
Tests create instance plugin aware. |
| PluginFormFactoryTest::testCreateInstanceUsingPlugin |
function |
core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php |
Tests create instance using plugin. |
| PluginFormFactoryTest::testCreateInstanceUsingPluginWithSlashes |
function |
core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php |
Tests create instance using plugin with slashes. |
| PluginFormInterface |
interface |
core/lib/Drupal/Core/Plugin/PluginFormInterface.php |
Provides an interface for an embeddable plugin form. |
| PluginFormInterface.php |
file |
core/lib/Drupal/Core/Plugin/PluginFormInterface.php |
|
| PluginFormInterface::buildConfigurationForm |
function |
core/lib/Drupal/Core/Plugin/PluginFormInterface.php |
Form constructor. |
| PluginFormInterface::submitConfigurationForm |
function |
core/lib/Drupal/Core/Plugin/PluginFormInterface.php |
Form submission handler. |
| PluginFormInterface::validateConfigurationForm |
function |
core/lib/Drupal/Core/Plugin/PluginFormInterface.php |
Form validation handler. |
| PluginWithFormsInterface |
interface |
core/lib/Drupal/Core/Plugin/PluginWithFormsInterface.php |
Provides an interface for plugins which have forms. |
| 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 |
| 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 |
|