Search for forms

  1. Search 7.x for forms
  2. Search 9.5.x for forms
  3. Search 10.3.x for forms
  4. Search 11.x for forms
  5. Other projects
Title Object type File name Summary
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 Test form submission during a batch operation.
ProfileTranslationHandler::entityFormSave function core/modules/user/src/ProfileTranslationHandler.php Form submission handler for ProfileTranslationHandler::entityFormAlter().
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 Test that creating a stub of the given 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
SubformState::getLimitValidationErrors function core/lib/Drupal/Core/Form/SubformState.php
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
SubformState::setErrorByName function core/lib/Drupal/Core/Form/SubformState.php
SubformState::setLimitValidationErrors function core/lib/Drupal/Core/Form/SubformState.php
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::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]]
SubformStateTest::testGetLimitValidationErrors function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php @covers ::getLimitValidationErrors[[api-linebreak]]
SubformStateTest::testGetValue function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php @covers ::getValue[[api-linebreak]]
SubformStateTest::testGetValueBroken function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php @covers ::getValue[[api-linebreak]]
SubformStateTest::testGetValues function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php @covers ::getValues[[api-linebreak]]
@covers ::getParents[[api-linebreak]]
SubformStateTest::testGetValuesBroken function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php @covers ::getValues[[api-linebreak]]
@covers ::getParents[[api-linebreak]]
SubformStateTest::testSetErrorByName function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php @covers ::setErrorByName[[api-linebreak]]
SubformStateTest::testSetLimitValidationErrors function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php @covers ::setLimitValidationErrors[[api-linebreak]]
SubformStateTest::testSetValues function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php @covers ::setValues[[api-linebreak]]
SubformStateTest::testSetValuesBroken function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php @covers ::setValues[[api-linebreak]]
TermTranslationHandler::entityFormSave function core/modules/taxonomy/src/TermTranslationHandler.php Form submission handler for TermTranslationHandler::entityFormAlter().
TestMultipleFormController::testMultipleForms function core/modules/block/tests/modules/block_test/src/Controller/TestMultipleFormController.php
TestMultipleFormsBlock class core/modules/block/tests/modules/block_test/src/Plugin/Block/TestMultipleFormsBlock.php Provides a block with multiple forms.

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