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
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().
LocaleHooks::formLanguageAdminEditFormAlter function core/modules/locale/src/Hook/LocaleHooks.php Implements hook_form_FORM_ID_alter() for language_admin_edit_form().
LocaleHooks::formLanguageAdminOverviewFormAlter function core/modules/locale/src/Hook/LocaleHooks.php Implements hook_form_FORM_ID_alter() for language_admin_overview_form().
MediaHooks::fieldWidgetCompleteFormAlter function core/modules/media/src/Hook/MediaHooks.php Implements hook_field_widget_complete_form_alter().
MediaHooks::fieldWidgetSingleElementFormAlter function core/modules/media/src/Hook/MediaHooks.php Implements hook_field_widget_single_element_form_alter().
MediaHooks::formFieldUiFieldStorageAddFormAlter function core/modules/media/src/Hook/MediaHooks.php Implements hook_form_FORM_ID_alter().
MediaHooks::formFilterFormatAddFormAlter function core/modules/media/src/Hook/MediaHooks.php Implements hook_form_FORM_ID_alter().
MediaHooks::formFilterFormatEditFormAlter function core/modules/media/src/Hook/MediaHooks.php Implements hook_form_FORM_ID_alter().
MediaLibraryHooks::formAlter function core/modules/media_library/src/Hook/MediaLibraryHooks.php Implements hook_form_alter().
MenuUiHooks::formNodeFormAlter function core/modules/menu_ui/src/Hook/MenuUiHooks.php Implements hook_form_BASE_FORM_ID_alter() for \Drupal\node\NodeForm.
MenuUiHooks::formNodeTypeFormAlter function core/modules/menu_ui/src/Hook/MenuUiHooks.php Implements hook_form_FORM_ID_alter() for \Drupal\node\NodeTypeForm.
ModerationHandler::enforceRevisionsBundleFormAlter function core/modules/content_moderation/src/Entity/Handler/ModerationHandler.php Alters bundle forms to enforce revision handling.
ModerationHandler::enforceRevisionsEntityFormAlter function core/modules/content_moderation/src/Entity/Handler/ModerationHandler.php Alters entity forms to enforce revision handling.
ModerationHandlerInterface::enforceRevisionsBundleFormAlter function core/modules/content_moderation/src/Entity/Handler/ModerationHandlerInterface.php Alters bundle forms to enforce revision handling.
ModerationHandlerInterface::enforceRevisionsEntityFormAlter function core/modules/content_moderation/src/Entity/Handler/ModerationHandlerInterface.php Alters entity forms to enforce revision handling.
ModerationStateNodeTypeTest::testEnforceRevisionsEntityFormAlter function core/modules/content_moderation/tests/src/Functional/ModerationStateNodeTypeTest.php @covers \Drupal\content_moderation\Entity\Handler\NodeModerationHandler::enforceRevisionsBundleFormAlter
ModerationStateTaxonomyTermTest::testEnforceRevisionsEntityFormAlter function core/modules/content_moderation/tests/src/Functional/ModerationStateTaxonomyTermTest.php Tests the taxonomy term moderation handler alters the forms as intended.
NodeHooks1::formSystemThemesAdminFormAlter function core/modules/node/src/Hook/NodeHooks1.php Implements hook_form_FORM_ID_alter().
NodeModerationHandler::enforceRevisionsBundleFormAlter function core/modules/content_moderation/src/Entity/Handler/NodeModerationHandler.php Alters bundle forms to enforce revision handling.
NodeModerationHandler::enforceRevisionsEntityFormAlter function core/modules/content_moderation/src/Entity/Handler/NodeModerationHandler.php Alters entity forms to enforce revision handling.
NodeSearch::searchFormAlter function core/modules/node/src/Plugin/Search/NodeSearch.php Alters the search form when being built for a given plugin.
NodeTestHooks::formAlter function core/modules/node/tests/modules/node_test/src/Hook/NodeTestHooks.php Implements hook_form_alter().
NodeTranslationHandler::entityFormAlter function core/modules/node/src/NodeTranslationHandler.php Performs the needed alterations to the entity form.
OptionsTestHooks::formEntityTestEntityTestFormAlter function core/modules/options/tests/options_test/src/Hook/OptionsTestHooks.php Implements hook_form_FORM_ID_alter().
PagerPluginBase::exposedFormAlter function core/modules/views/src/Plugin/views/pager/PagerPluginBase.php Allows the exposed form to be altered.
PathHooks::fieldWidgetSingleElementFormAlter function core/modules/path/src/Hook/PathHooks.php Implements hook_field_widget_single_element_form_alter().
PhpassHooks::formSystemModulesUninstallConfirmFormAlter function core/modules/phpass/src/Hook/PhpassHooks.php Implements hook_form_FORM_ID_alter() for system_modules_uninstall_confirm_form.
ProfileTranslationHandler::entityFormAlter function core/modules/user/src/ProfileTranslationHandler.php Performs the needed alterations to the entity form.
SearchHooks::formSearchBlockFormAlter function core/modules/search/src/Hook/SearchHooks.php Implements hook_form_FORM_ID_alter() for the search_block_form form.
SearchInterface::searchFormAlter function core/modules/search/src/Plugin/SearchInterface.php Alters the search form when being built for a given plugin.
SearchPluginBase::searchFormAlter function core/modules/search/src/Plugin/SearchPluginBase.php Alters the search form when being built for a given plugin.
SqlBase::exposedFormAlter function core/modules/views/src/Plugin/views/pager/SqlBase.php Allows the exposed form to be altered.
StandardHooks::formInstallConfigureFormAlter function core/profiles/standard/src/Hook/StandardHooks.php Implements hook_form_FORM_ID_alter() for install_configure_form().
TaxonomyTermModerationHandler::enforceRevisionsBundleFormAlter function core/modules/content_moderation/src/Entity/Handler/TaxonomyTermModerationHandler.php Alters bundle forms to enforce revision handling.
TaxonomyTermModerationHandler::enforceRevisionsEntityFormAlter function core/modules/content_moderation/src/Entity/Handler/TaxonomyTermModerationHandler.php Alters entity forms to enforce revision handling.
TaxonomyTestHooks::formTaxonomyTermFormAlter function core/modules/taxonomy/tests/modules/taxonomy_test/src/Hook/TaxonomyTestHooks.php Implements hook_form_BASE_FORM_ID_alter() for the taxonomy term form.
TermTranslationHandler::entityFormAlter function core/modules/taxonomy/src/TermTranslationHandler.php Performs the needed alterations to the entity form.
UserFormTestHooks::formUserCancelFormAlter function core/modules/user/tests/modules/user_form_test/src/Hook/UserFormTestHooks.php Implements hook_form_FORM_ID_alter() for user_cancel_form().
ViewsFormAlterTest class core/modules/views/tests/src/Functional/ViewsFormAlterTest.php Tests hook_form_BASE_FORM_ID_alter for a ViewsForm.
ViewsFormAlterTest.php file core/modules/views/tests/src/Functional/ViewsFormAlterTest.php
ViewsFormAlterTest::$defaultTheme property core/modules/views/tests/src/Functional/ViewsFormAlterTest.php The theme to install as the default for testing.
ViewsFormAlterTest::$modules property core/modules/views/tests/src/Functional/ViewsFormAlterTest.php Modules to install.
ViewsFormAlterTest::testViewsFormAlter function core/modules/views/tests/src/Functional/ViewsFormAlterTest.php Tests hook_form_BASE_FORM_ID_alter for a ViewsForm.
ViewsHooks::formViewsExposedFormAlter function core/modules/views/src/Hook/ViewsHooks.php Implements hook_form_FORM_ID_alter() for the exposed form.
ViewsUiTestFieldHooks::formViewsUiAddHandlerFormAlter function core/modules/views_ui/tests/modules/views_ui_test_field/src/Hook/ViewsUiTestFieldHooks.php Implements hook_form_FORM_ID_alter() for views_ui_add_handler_form.

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