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 10.3.x for forms
  5. Other projects
Title Object type File name Summary
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::testFormObject function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php @covers ::getFormObject
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
SyslogHooks::formSystemLoggingSettingsAlter function core/modules/syslog/src/Hook/SyslogHooks.php Implements hook_form_FORM_ID_alter().
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.
TestMultipleFormsBlock.php file core/modules/block/tests/modules/block_test/src/Plugin/Block/TestMultipleFormsBlock.php
TestMultipleFormsBlock::build function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestMultipleFormsBlock.php Builds and returns the renderable array for this block plugin.
ThemeSettingsFormTest::providerTestFormSettingsSubmissionHandler function core/modules/system/tests/src/FunctionalJavascript/ThemeSettingsFormTest.php Provides test data for ::testFormSettingsSubmissionHandler().
ThemeSettingsFormTest::testFormSettingsSubmissionHandler function core/modules/system/tests/src/FunctionalJavascript/ThemeSettingsFormTest.php Tests that submission handler works correctly.
UploadedFileConstraint::$uploadFormSizeErrorMessage property core/modules/file/src/Validation/Constraint/UploadedFileConstraint.php The upload form size error message.
UserHooks::formSystemRegionalSettingsAlter function core/modules/user/src/Hook/UserHooks.php Implements hook_form_FORM_ID_alter() for \Drupal\system\Form\RegionalForm.
UserRegistrationTest::testUuidFormState function core/modules/user/tests/src/Functional/UserRegistrationTest.php Tests that UUID isn't cached in form state on register form.
ViewsFormBase::getFormState function core/modules/views_ui/src/Form/Ajax/ViewsFormBase.php Gets the form state for this form.
ViewsFormInterface::getFormState function core/modules/views_ui/src/Form/Ajax/ViewsFormInterface.php Gets the form state for this form.
ViewsTestDataViewsExecutionHooks::viewsFormSubstitutions function core/modules/views/tests/modules/views_test_data/src/Hook/ViewsTestDataViewsExecutionHooks.php Implements hook_views_form_substitutions().
ViewsViewsExecutionHooks::viewsFormSubstitutions function core/modules/views/src/Hook/ViewsViewsExecutionHooks.php Implements hook_views_form_substitutions().
ViewUI::$forms property core/modules/views_ui/src/ViewUI.php Contains an array of form keys and their respective classes.
WidgetBase::formSingleElement function core/lib/Drupal/Core/Field/WidgetBase.php Generates the form element for a single copy of the widget.
WizardPluginBase::$parentFormSelector property core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php The parent form selector service.
WizardPluginBase::buildFormStyle function core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php Adds the style options to the wizard form.
WorkflowType::$forms property core/modules/workflows/src/Attribute/WorkflowType.php A list of optional form classes implementing PluginFormInterface.
WorkflowType::$forms property core/modules/workflows/src/Annotation/WorkflowType.php A list of optional form classes implementing PluginFormInterface.
WorkspaceIntegrationTest::testFormCacheForEntityForms function core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php Tests that entity forms can be stored in the form cache.
WorkspaceIntegrationTest::testFormCacheForRegularForms function core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php Tests that non-entity forms can be stored in the form cache.
WorkspaceSafeFormTrait::getSectionStorageFromFormState function core/modules/layout_builder/src/Form/WorkspaceSafeFormTrait.php Retrieves the section storage from a form state object, if it exists.

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