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
@covers ::hasFormClass
@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 Gets the complete form state.
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
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
SubformStateTest::testGetCompleteFormStateWithParentSubform function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php @covers ::getCompleteFormState
SubformStateTest::testGetLimitValidationErrors function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php @covers ::getLimitValidationErrors
SubformStateTest::testGetValue function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php @covers ::getValue
SubformStateTest::testGetValueBroken function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php @covers ::getValue
SubformStateTest::testGetValues function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php @covers ::getValues
@covers ::getParents
SubformStateTest::testGetValuesBroken function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php @covers ::getValues
@covers ::getParents
SubformStateTest::testSetErrorByName function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php @covers ::setErrorByName
SubformStateTest::testSetLimitValidationErrors function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php @covers ::setLimitValidationErrors
SubformStateTest::testSetValues function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php @covers ::setValues
SubformStateTest::testSetValuesBroken function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php @covers ::setValues
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.