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::testSetValuesBroken function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php Tests set values broken.
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.
UserRegisterFormTest::testRegistrationFormStorage function core/modules/user/tests/src/FunctionalJavascript/UserRegisterFormTest.php Tests if registration form writes to localStorage.
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.