Search for formAlter

  1. Search 7.x for formAlter
  2. Search 9.5.x for formAlter
  3. Search 8.9.x for formAlter
  4. Search 10.3.x for formAlter
  5. Other projects
Title Object type File name Summary
BlockContentModerationHandler::enforceRevisionsBundleFormAlter function core/modules/content_moderation/src/Entity/Handler/BlockContentModerationHandler.php Alters bundle forms to enforce revision handling.
BlockContentModerationHandler::enforceRevisionsEntityFormAlter function core/modules/content_moderation/src/Entity/Handler/BlockContentModerationHandler.php Alters entity forms to enforce revision handling.
Ckeditor5Hooks::formFilterFormatFormAlter function core/modules/ckeditor5/src/Hook/Ckeditor5Hooks.php Implements hook_form_FORM_ID_alter().
Ckeditor5ReadOnlyModeHooks::formNodePageFormAlter function core/modules/ckeditor5/tests/modules/ckeditor5_read_only_mode/src/Hook/Ckeditor5ReadOnlyModeHooks.php Implements hook_form_FORM_ID_alter().
CommentHooks::formFieldUiDisplayOverviewFormAlter function core/modules/comment/src/Hook/CommentHooks.php Implements hook_form_FORM_ID_alter().
CommentHooks::formFieldUiFieldStorageAddFormAlter function core/modules/comment/src/Hook/CommentHooks.php Implements hook_form_FORM_ID_alter() for field_ui_field_storage_add_form.
CommentHooks::formFieldUiFormDisplayOverviewFormAlter function core/modules/comment/src/Hook/CommentHooks.php Implements hook_form_FORM_ID_alter().
CommentTranslationHandler::entityFormAlter function core/modules/comment/src/CommentTranslationHandler.php Performs the needed alterations to the entity form.
ConfigTranslationFormTest::testConfigTranslationFormAlter function core/modules/config_translation/tests/src/Kernel/ConfigTranslationFormTest.php Tests altering of the configuration translation forms.
ConfigTranslationTestHooks::formConfigTranslationAddFormAlter function core/modules/config_translation/tests/modules/config_translation_test/src/Hook/ConfigTranslationTestHooks.php Implements hook_form_FORM_ID_alter() for ConfigTranslationAddForm.
ConfigTranslationTestHooks::formConfigTranslationEditFormAlter function core/modules/config_translation/tests/modules/config_translation_test/src/Hook/ConfigTranslationTestHooks.php Implements hook_form_FORM_ID_alter() for ConfigTranslationEditForm.
ConfigTranslationTestHooks::formConfigTranslationFormAlter function core/modules/config_translation/tests/modules/config_translation_test/src/Hook/ConfigTranslationTestHooks.php Implements hook_form_BASE_FORM_ID_alter() for ConfigTranslationFormBase.
ContactHooks::formUserFormAlter function core/modules/contact/src/Hook/ContactHooks.php Implements hook_form_FORM_ID_alter() for \Drupal\user\ProfileForm.
ContactStorageTestHooks::formContactFormFormAlter function core/modules/contact/tests/modules/contact_storage_test/src/Hook/ContactStorageTestHooks.php Implements hook_form_FORM_ID_alter() for contact_form_form().
ContentModerationHooks::formAlter function core/modules/content_moderation/src/Hook/ContentModerationHooks.php Implements hook_form_alter().
ContentTranslationHandler::entityFormAlter function core/modules/content_translation/src/ContentTranslationHandler.php Performs the needed alterations to the entity form.
ContentTranslationHandlerInterface::entityFormAlter function core/modules/content_translation/src/ContentTranslationHandlerInterface.php Performs the needed alterations to the entity form.
ContentTranslationHooks::formAlter function core/modules/content_translation/src/Hook/ContentTranslationHooks.php Implements hook_form_alter().
ContentTranslationHooks::formFieldConfigEditFormAlter function core/modules/content_translation/src/Hook/ContentTranslationHooks.php Implements hook_form_FORM_ID_alter() for 'field_config_edit_form'.
ContentTranslationHooks::formLanguageContentSettingsFormAlter function core/modules/content_translation/src/Hook/ContentTranslationHooks.php Implements hook_form_FORM_ID_alter() for language_content_settings_form().
ContentTranslationTestHooks::formNodeFormAlter function core/modules/content_translation/tests/modules/content_translation_test/src/Hook/ContentTranslationTestHooks.php Implements hook_form_BASE_FORM_ID_alter().
EditorHooks::formFilterFormatFormAlter function core/modules/editor/src/Hook/EditorHooks.php Implements hook_form_BASE_FORM_ID_alter() for \Drupal\filter\FilterFormatEditForm.
EntityOperations::entityFormAlter function core/modules/workspaces/src/EntityOperations.php Alters entity forms to disallow concurrent editing in multiple workspaces.
EntityTestHooks::formEntityTestFormAlter function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_form_BASE_FORM_ID_alter().
EntityTestHooks::formNodeFormAlter function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_form_BASE_FORM_ID_alter().
EntityTypeInfo::formAlter function core/modules/content_moderation/src/EntityTypeInfo.php Alters bundle forms to enforce revision handling.
ExposedFormPluginBase::exposedFormAlter function core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginBase.php Alters the exposed form.
ExposedFormPluginInterface::exposedFormAlter function core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginInterface.php Alters the exposed form.
FieldHooks::formConfigAdminImportFormAlter function core/modules/field/src/Hook/FieldHooks.php Implements hook_form_FORM_ID_alter().
FieldLayoutHooks::formAlter function core/modules/field_layout/src/Hook/FieldLayoutHooks.php Implements hook_form_alter().
FieldTestHooks::fieldWidgetCompleteFormAlter function core/modules/field/tests/modules/field_test/src/Hook/FieldTestHooks.php Implements hook_field_widget_complete_form_alter().
FieldTestHooks::fieldWidgetCompleteTestFieldWidgetMultipleFormAlter function core/modules/field/tests/modules/field_test/src/Hook/FieldTestHooks.php Implements hook_field_widget_complete_WIDGET_TYPE_form_alter().
FieldTestHooks::fieldWidgetCompleteTestFieldWidgetMultipleSingleValueFormAlter function core/modules/field/tests/modules/field_test/src/Hook/FieldTestHooks.php Implements hook_field_widget_complete_WIDGET_TYPE_form_alter().
FieldTestHooks::fieldWidgetSingleElementFormAlter function core/modules/field/tests/modules/field_test/src/Hook/FieldTestHooks.php Implements hook_field_widget_single_element_form_alter().
FieldUiHooks::formAlter function core/modules/field_ui/src/Hook/FieldUiHooks.php Implements hook_form_alter().
FieldUiHooks::formFieldUiFieldStorageAddFormAlter function core/modules/field_ui/src/Hook/FieldUiHooks.php Implements hook_form_FORM_ID_alter() for 'field_ui_field_storage_add_form'.
FieldUiTestDeprecatedHooks::formFieldStorageConfigEditFormAlter function core/modules/field_ui/tests/modules/field_ui_test_deprecated/src/Hook/FieldUiTestDeprecatedHooks.php Implements hook_form_FORM_ID_alter() for field_storage_config_edit_form.
FieldUiTestHooks::formEntityViewDisplayEditFormAlter function core/modules/field_ui/tests/modules/field_ui_test/src/Hook/FieldUiTestHooks.php Implements hook_form_FORM_BASE_ID_alter().
FormOperations::formAlter function core/modules/workspaces/src/FormOperations.php Alters forms to disallow editing in non-default workspaces.
FormTestHooks::blockFormFormTestAlterFormAlter function core/modules/system/tests/modules/form_test/src/Hook/FormTestHooks.php Implements hook_form_FORM_ID_alter().
FormTestHooks::formAlter function core/modules/system/tests/modules/form_test/src/Hook/FormTestHooks.php Implements hook_form_alter().
FormTestHooks::formFormTestAlterFormAlter function core/modules/system/tests/modules/form_test/src/Hook/FormTestHooks.php Implements hook_form_FORM_ID_alter().
FormTestHooks::formFormTestVerticalTabsAccessFormAlter function core/modules/system/tests/modules/form_test/src/Hook/FormTestHooks.php Implements hook_form_FORM_ID_alter() for form_test_vertical_tabs_access_form().
FormTestHooks::formUserRegisterFormAlter function core/modules/system/tests/modules/form_test/src/Hook/FormTestHooks.php Implements hook_form_FORM_ID_alter() for the registration form.
FormTestHooks::systemFormFormTestAlterFormAlter function core/modules/system/tests/modules/form_test/src/Hook/FormTestHooks.php Implements hook_form_FORM_ID_alter().
LanguageHooks::formAlter function core/modules/language/src/Hook/LanguageHooks.php Implements hook_form_alter().
LayoutBuilderHooks::formEntityFormDisplayEditFormAlter function core/modules/layout_builder/src/Hook/LayoutBuilderHooks.php Implements hook_form_FORM_ID_alter() for \Drupal\field_ui\Form\EntityFormDisplayEditForm.
LayoutBuilderOverridesTest::testOverridesFormAlter function core/modules/layout_builder/tests/src/Functional/LayoutBuilderOverridesTest.php Tests a custom alter of the overrides form.
LayoutBuilderTest::testFormAlter function core/modules/layout_builder/tests/src/Functional/LayoutBuilderTest.php Tests that hook_form_alter() has access to the Layout Builder info.
LocaleHooks::formLanguageAdminAddFormAlter function core/modules/locale/src/Hook/LocaleHooks.php Implements hook_form_FORM_ID_alter() for language_admin_add_form().

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