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
ajax_forms_test_advanced_commands_html_callback function core/modules/system/tests/modules/ajax_forms_test/ajax_forms_test.module Ajax form callback: Selects 'html'.
ajax_forms_test_advanced_commands_insert_callback function core/modules/system/tests/modules/ajax_forms_test/ajax_forms_test.module Ajax form callback: Selects 'insert'.
ajax_forms_test_advanced_commands_invoke_callback function core/modules/system/tests/modules/ajax_forms_test/ajax_forms_test.module Ajax form callback: Selects 'invoke'.
ajax_forms_test_advanced_commands_prepend_callback function core/modules/system/tests/modules/ajax_forms_test/ajax_forms_test.module Ajax form callback: Selects 'prepend'.
ajax_forms_test_advanced_commands_remove_callback function core/modules/system/tests/modules/ajax_forms_test/ajax_forms_test.module Ajax form callback: Selects 'remove'.
ajax_forms_test_advanced_commands_restripe_callback function core/modules/system/tests/modules/ajax_forms_test/ajax_forms_test.module Ajax form callback: Selects 'restripe'.
ajax_forms_test_advanced_commands_settings_callback function core/modules/system/tests/modules/ajax_forms_test/ajax_forms_test.module Ajax form callback: Selects 'settings'.
ajax_forms_test_lazy_load_form_ajax function core/modules/system/tests/modules/ajax_forms_test/ajax_forms_test.module AJAX form callback: Selects for the ajax_forms_test_lazy_load_form() form.
ajax_forms_test_validation_form_callback function core/modules/system/tests/modules/ajax_forms_test/ajax_forms_test.module Ajax form callback: Selects the 'driver_text' element of the validation form.
ajax_forms_test_validation_number_form_callback function core/modules/system/tests/modules/ajax_forms_test/ajax_forms_test.module Ajax form callback: Selects the 'driver_number' element of the validation form.
BatchTestChainedForm::batchTestChainedFormSubmit1 function core/modules/system/tests/modules/batch_test/src/Form/BatchTestChainedForm.php Form submission handler #1 for batch_test_chained_form.
BatchTestChainedForm::batchTestChainedFormSubmit2 function core/modules/system/tests/modules/batch_test/src/Form/BatchTestChainedForm.php Form submission handler #2 for batch_test_chained_form.
BatchTestChainedForm::batchTestChainedFormSubmit3 function core/modules/system/tests/modules/batch_test/src/Form/BatchTestChainedForm.php Form submission handler #3 for batch_test_chained_form.
BatchTestChainedForm::batchTestChainedFormSubmit4 function core/modules/system/tests/modules/batch_test/src/Form/BatchTestChainedForm.php Form submission handler #4 for batch_test_chained_form.
BatchTestController::testNestedDrupalFormSubmit function core/modules/system/tests/modules/batch_test/src/Controller/BatchTestController.php Submits a form within a batch programmatically.
BlockContentCreationTest::testBlockContentFormSubmitHandlers function core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php Tests the redirect workflow of creating a block_content and block.
BlockRegionTest::testTransformSameThemeRegionExists function core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockRegionTest.php Tests transforming a block with the same theme and an existing region.
BlockRegionTest::testTransformSameThemeRegionNotExists function core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockRegionTest.php Tests transforming a block with the same theme and a non-existent region.
BlockVisibilityTest::testTransformSinglePageWithFront function core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockVisibilityTest.php @covers ::transform
BulkForm::viewsFormSubmit function core/modules/views/src/Plugin/views/field/BulkForm.php Submit handler for the bulk form.
ConfigEntityFormOverrideTest::testFormsWithOverrides function core/modules/config/tests/src/Functional/ConfigEntityFormOverrideTest.php Tests that overrides do not affect forms or listing screens.
ConfigFormOverrideTest::testFormsWithOverrides function core/modules/config/tests/src/Functional/ConfigFormOverrideTest.php Tests that overrides do not affect forms.
ConfigTargetTest::testFromFormString function core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php @covers ::fromForm
@covers ::fromString
ConfigTranslationListUiTest::doContactFormsListTest function core/modules/config_translation/tests/src/Functional/ConfigTranslationListUiTest.php Tests the contact forms listing for the translate operation.
ContactSitewideTest::deleteContactForms function core/modules/contact/tests/src/Functional/ContactSitewideTest.php Deletes all forms.
ContentTranslationHandler::entityFormSharedElements function core/modules/content_translation/src/ContentTranslationHandler.php Process callback: determines which elements get clue in the form.
ContentTranslationHandler::entityFormSourceChange function core/modules/content_translation/src/ContentTranslationHandler.php Form submission handler for ContentTranslationHandler::entityFormAlter().
ContentTranslationHandler::entityFormSubmit function core/modules/content_translation/src/ContentTranslationHandler.php Form submission handler for ContentTranslationHandler::entityFormAlter().
ContentTranslationHandlerTest::providerTestEntityFormSharedElements function core/modules/content_translation/tests/src/Kernel/ContentTranslationHandlerTest.php Returns test cases for ::testEntityFormSharedElements().
ContentTranslationHandlerTest::testEntityFormSharedElements function core/modules/content_translation/tests/src/Kernel/ContentTranslationHandlerTest.php Tests ContentTranslationHandler::entityFormSharedElements()
ContentTranslationUITestBase::getFormSubmitAction function core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php Returns the form action value to be used to submit the entity form.
ContentTranslationUITestBase::getFormSubmitActionForNewTranslation function core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php Returns the form action value when submitting a new translation.
ContentTranslationUITestBase::getFormSubmitSuffix function core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php Returns appropriate submit button suffix based on translatability.
DateRangeFieldItemList::defaultValuesFormSubmit function core/modules/datetime_range/src/Plugin/Field/FieldType/DateRangeFieldItemList.php Processes the submitted default value.
DateTimeFieldItemList::defaultValuesFormSubmit function core/modules/datetime/src/Plugin/Field/FieldType/DateTimeFieldItemList.php Processes the submitted default value.
Display::getFormState function core/modules/views_ui/src/Form/Ajax/Display.php @todo Remove this and switch all usage of $form_state->get('section') to
$form_state->get('type').
Drupal\Core\Form\FormSubmitterInterface service core/core.services.yml
Drupal\Core\Menu\MenuParentFormSelectorInterface service core/core.services.yml
ElementsLabelsTest::testFormsInThemeLessEnvironments function core/modules/system/tests/src/Functional/Form/ElementsLabelsTest.php Tests forms in theme-less environments.
ElementsTableSelectTest::formSubmitHelper function core/modules/system/tests/src/Functional/Form/ElementsTableSelectTest.php Helper function for the option check test to submit a form while collecting errors.
EntityReferenceFieldItemList::defaultValuesFormSubmit function core/lib/Drupal/Core/Field/EntityReferenceFieldItemList.php Processes the submitted default value.
ExposedFormPluginBase::exposedFormSubmit function core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginBase.php Submits the exposed form.
ExposedFormPluginInterface::exposedFormSubmit function core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginInterface.php Submits the exposed form.
FieldFormButtonTest::viewsFormSubmit function core/modules/views/tests/modules/views_test_data/src/Plugin/views/field/FieldFormButtonTest.php Submit handler for the views form.
FieldItemList::defaultValuesFormSubmit function core/lib/Drupal/Core/Field/FieldItemList.php Processes the submitted default value.
FieldItemListInterface::defaultValuesFormSubmit function core/lib/Drupal/Core/Field/FieldItemListInterface.php Processes the submitted default value.
FieldItemListTest::testDefaultValuesFormSubmit function core/tests/Drupal/Tests/Core/Field/FieldItemListTest.php @covers ::defaultValuesFormSubmit
FieldLayoutTest::testLayoutForms function core/modules/field_layout/tests/src/FunctionalJavascript/FieldLayoutTest.php Tests layout plugins with forms.
FormAjaxException::$formState property core/lib/Drupal/Core/Form/FormAjaxException.php The form state.
FormAjaxException::getFormState function core/lib/Drupal/Core/Form/FormAjaxException.php Gets the form state.

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