Search for forms

  1. Search 7.x for forms
  2. Search 9.5.x for forms
  3. Search 8.9.x for forms
  4. Search 11.x for forms
  5. 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 @coversDefaultClass \Drupal\Core\Plugin\PluginWithFormsTrait[[api-linebreak]]
@group Plugin
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 @covers ::getFormClass[[api-linebreak]]
@covers ::hasFormClass[[api-linebreak]]
@dataProvider providerGetFormClass
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.
ProcessingTest::testDrupalFormSubmitInBatch function core/modules/system/tests/src/Functional/Batch/ProcessingTest.php Tests form submission during a batch operation.
ProfileTranslationHandler::entityFormSave function core/modules/user/src/ProfileTranslationHandler.php Form submission handler for ProfileTranslationHandler::entityFormAlter().
SkipOnEmptyTest::testMultipleTransforms function core/modules/migrate/tests/src/Unit/process/SkipOnEmptyTest.php Tests repeated execution of a process plugin can reset the pipeline stoppage correctly.
StateValuesCleanAdvancedTest::testFormStateValuesCleanAdvanced function core/modules/system/tests/src/Functional/Form/StateValuesCleanAdvancedTest.php Tests \Drupal\Core\Form\FormState::cleanValues().
StateValuesCleanTest::testFormStateValuesClean function core/modules/system/tests/src/Functional/Form/StateValuesCleanTest.php Tests \Drupal\Core\Form\FormState::cleanValues().
StorageTest::testCachedFormStorageValidation function core/modules/system/tests/src/Functional/Form/StorageTest.php Tests updating cached form storage during form validation.
StubTestTrait::performStubTest function core/modules/migrate_drupal/src/Tests/StubTestTrait.php Tests that creating a stub of an entity type results in a valid entity.
SubformState class core/lib/Drupal/Core/Form/SubformState.php Stores information about the state of a subform.
SubformState.php file core/lib/Drupal/Core/Form/SubformState.php
SubformState::$parentForm property core/lib/Drupal/Core/Form/SubformState.php The parent form.
SubformState::$subform property core/lib/Drupal/Core/Form/SubformState.php The subform.
SubformState::createForSubform function core/lib/Drupal/Core/Form/SubformState.php Creates a new instance for a subform.
SubformState::getCompleteFormState function core/lib/Drupal/Core/Form/SubformState.php Gets the complete form state.
SubformState::getFormObject function core/lib/Drupal/Core/Form/SubformState.php Returns the form object that is responsible for building this form.
SubformState::getLimitValidationErrors function core/lib/Drupal/Core/Form/SubformState.php Retrieves the limited validation error sections.
SubformState::getParents function core/lib/Drupal/Core/Form/SubformState.php Gets the subform's parents relative to its parent form.
SubformState::getValues function core/lib/Drupal/Core/Form/SubformState.php Implements \Drupal\Core\Form\FormStateInterface::getValues()
SubformState::setErrorByName function core/lib/Drupal/Core/Form/SubformState.php Files an error against a form element.
SubformState::setLimitValidationErrors function core/lib/Drupal/Core/Form/SubformState.php Sets the limited validation error sections.
SubformState::__construct function core/lib/Drupal/Core/Form/SubformState.php Constructs a new instance.
SubformStateInterface interface core/lib/Drupal/Core/Form/SubformStateInterface.php Stores information about the state of a subform.
SubformStateInterface.php file core/lib/Drupal/Core/Form/SubformStateInterface.php
SubformStateInterface::getCompleteFormState function core/lib/Drupal/Core/Form/SubformStateInterface.php Gets the complete form state.
SubformStateTest class core/tests/Drupal/Tests/Core/Form/SubformStateTest.php @coversDefaultClass \Drupal\Core\Form\SubformState[[api-linebreak]]
SubformStateTest.php file core/tests/Drupal/Tests/Core/Form/SubformStateTest.php
SubformStateTest::$formStateValues property core/tests/Drupal/Tests/Core/Form/SubformStateTest.php The form state's values test fixture.
SubformStateTest::$parentForm property core/tests/Drupal/Tests/Core/Form/SubformStateTest.php The parent form.
SubformStateTest::providerGetValues function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php Provides data to self::testGetValues().
SubformStateTest::providerGetValuesBroken function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php Provides data to self::testGetValuesBroken().
SubformStateTest::providerTestGetValue function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php Provides data to self::testGetValue().
SubformStateTest::providerTestGetValueBroken function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php Provides data to self::testGetValueBroken().
SubformStateTest::providerTestSetValues function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php Provides data to self::testSetValues().
SubformStateTest::providerTestSetValuesBroken function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php Provides data to self::testSetValuesBroken().
SubformStateTest::testFormObject function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php @covers ::getFormObject[[api-linebreak]]
SubformStateTest::testGetCompleteFormStateWithParentCompleteForm function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php @covers ::getCompleteFormState[[api-linebreak]]
SubformStateTest::testGetCompleteFormStateWithParentSubform function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php @covers ::getCompleteFormState[[api-linebreak]]

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