Search for form

  1. Search 7.x for form
  2. Search 9.5.x for form
  3. Search 8.9.x for form
  4. Search 10.3.x for form
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Form class core/lib/Drupal/Core/Render/Element/Form.php Provides a render element for a form.
Form class core/modules/system/tests/modules/router_test_directory/src/Form.php Form to test _form routing.

All search results

Title Object type File name Summary
FormGroupingElementsTest::$defaultTheme property core/tests/Drupal/FunctionalJavascriptTests/Core/Form/FormGroupingElementsTest.php The theme to install as the default for testing.
FormGroupingElementsTest::$modules property core/tests/Drupal/FunctionalJavascriptTests/Core/Form/FormGroupingElementsTest.php Required modules.
FormGroupingElementsTest::setUp function core/tests/Drupal/FunctionalJavascriptTests/Core/Form/FormGroupingElementsTest.php
FormGroupingElementsTest::testDetailsChildVisibility function core/tests/Drupal/FunctionalJavascriptTests/Core/Form/FormGroupingElementsTest.php Tests that details element children become visible.
FormGroupingElementsTest::testDetailsContainsRequiredTextfield function core/tests/Drupal/FunctionalJavascriptTests/Core/Form/FormGroupingElementsTest.php Tests form submit with a required field in closed details element.
FormGroupingElementsTest::testDetailsContainsRequiredTextfieldAjaxForm function core/tests/Drupal/FunctionalJavascriptTests/Core/Form/FormGroupingElementsTest.php Tests required field in closed details element with ajax form.
FormGroupingElementsTest::testVerticalTabChildVisibility function core/tests/Drupal/FunctionalJavascriptTests/Core/Form/FormGroupingElementsTest.php Tests that vertical tab children become visible.
FormGroupingElementsTest::testVerticalTabValidationVisibility function core/tests/Drupal/FunctionalJavascriptTests/Core/Form/FormGroupingElementsTest.php Confirms tabs containing a field with a validation error are open.
FormHelper class core/lib/Drupal/Core/Form/FormHelper.php Provides helpers to operate on forms.
FormHelper.php file core/lib/Drupal/Core/Form/FormHelper.php
FormHelper::processStates function core/lib/Drupal/Core/Form/FormHelper.php Adds JavaScript to change the state of an element based on another element.
FormHelper::processStatesArray function core/lib/Drupal/Core/Form/FormHelper.php Helps recursively rewrite #states selectors.
FormHelper::rewriteStatesSelector function core/lib/Drupal/Core/Form/FormHelper.php Rewrites #states selectors in a render element.
FormHelperTest class core/tests/Drupal/Tests/Core/Form/FormHelperTest.php Tests Drupal\Core\Form\FormHelper.
FormHelperTest.php file core/tests/Drupal/Tests/Core/Form/FormHelperTest.php
FormHelperTest::providerElements function core/tests/Drupal/Tests/Core/Form/FormHelperTest.php Provides a list of elements to test.
FormHelperTest::testProcessStates function core/tests/Drupal/Tests/Core/Form/FormHelperTest.php Tests process states.
FormHelperTest::testRewriteStatesSelector function core/tests/Drupal/Tests/Core/Form/FormHelperTest.php Tests rewriting the #states selectors.
FormHooks class core/themes/admin/src/Hook/FormHooks.php Provides form related hook implementations.
FormHooks.php file core/themes/admin/src/Hook/FormHooks.php
FormHooks::ensureAdvancedSettings function core/themes/admin/src/Hook/FormHooks.php Ensure correct settings for advanced, meta and revision form elements.
FormHooks::formAfterBuild function core/themes/admin/src/Hook/FormHooks.php Helper function to remember the form actions after form has been built.
FormHooks::formAlter function core/themes/admin/src/Hook/FormHooks.php Implements hook_form_alter().
FormHooks::formMediaFormAlter function core/themes/admin/src/Hook/FormHooks.php Implements hook_form_BASE_FORM_ID_alter() for \Drupal\media\MediaForm.
FormHooks::formMediaLibraryAddFormAlter function core/themes/admin/src/Hook/FormHooks.php Implements hook_form_BASE_FORM_ID_alter().
FormHooks::formMediaLibraryAddFormOembedAlter function core/themes/admin/src/Hook/FormHooks.php Implements hook_form_FORM_ID_alter().
FormHooks::formMediaLibraryAddFormUploadAlter function core/themes/admin/src/Hook/FormHooks.php Implements hook_form_FORM_ID_alter().
FormHooks::formMenuLinkContentFormAlter function core/themes/admin/src/Hook/FormHooks.php Implements hook_form_BASE_FORM_ID_alter() for MenuLinkContentForm.
FormHooks::formMenuLinkEditAlter function core/themes/admin/src/Hook/FormHooks.php Implements hook_form_FORM_ID_alter() for MenuLinkEditForm.
FormHooks::formNodeFormAlter function core/themes/admin/src/Hook/FormHooks.php Implements hook_form_BASE_FORM_ID_alter() for \Drupal\node\Form\NodeForm.
FormHooks::formNodePreviewFormSelectAlter function core/themes/admin/src/Hook/FormHooks.php Implements hook_form_FORM_ID_alter().
FormHooks::formSystemModulesAlter function core/themes/admin/src/Hook/FormHooks.php Implements hook_form_FORM_ID_alter() for the system_modules form.
FormHooks::formSystemThemeSettingsAlter function core/themes/admin/src/Hook/FormHooks.php Implement hook form_system_theme_settings_alter().
FormHooks::formSystemThemeSettingsAlterSubmit function core/themes/admin/src/Hook/FormHooks.php Submit theme settings.
FormHooks::formSystemThemeSettingsAlterValidate function core/themes/admin/src/Hook/FormHooks.php Validate theme settings.
FormHooks::formUserAdminPermissionsAlter function core/themes/admin/src/Hook/FormHooks.php Implements hook_form_FORM_ID_alter() for the user_admin_permissions form.
FormHooks::formUserFormAlter function core/themes/admin/src/Hook/FormHooks.php Implements form_user_form_alter().
FormHooks::formViewsExposedFormAlter function core/themes/admin/src/Hook/FormHooks.php Implements hook_form_FORM_ID_alter() for views_exposed_form.
FormHooks::formViewsUiAddHandlerFormAlter function core/themes/admin/src/Hook/FormHooks.php Implements hook_form_FORM_ID_alter() for Views UI add handler form.
FormHooks::formViewsUiConfigItemFormAlter function core/themes/admin/src/Hook/FormHooks.php Implements hook_form_FORM_ID_alter() for the Views UI config form.
FormHooks::isModalOrOffcanvas function core/themes/admin/src/Hook/FormHooks.php Check the context we're in.
FormHooks::stickyActionButtonsAndSidebar function core/themes/admin/src/Hook/FormHooks.php Add some major form overrides.
FormHooks::userFormSubmit function core/themes/admin/src/Hook/FormHooks.php Submit handler for the user form.
FormHooks::useStickyActionButtons function core/themes/admin/src/Hook/FormHooks.php Determines the feature flag to use for sticky action buttons.
FormHooks::__construct function core/themes/admin/src/Hook/FormHooks.php Constructs the form related hooks.
FormInterface interface core/lib/Drupal/Core/Form/FormInterface.php Provides an interface for a Form.
FormInterface.php file core/lib/Drupal/Core/Form/FormInterface.php
FormInterface::buildForm function core/lib/Drupal/Core/Form/FormInterface.php Form constructor.
FormInterface::getFormId function core/lib/Drupal/Core/Form/FormInterface.php Returns a unique string identifying the form.
FormInterface::submitForm function core/lib/Drupal/Core/Form/FormInterface.php Form submission handler.

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