Search for formAlter

  1. Search 7.x for formAlter
  2. Search 9.5.x for formAlter
  3. Search 10.3.x for formAlter
  4. Search 11.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.
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.
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.
EntityOperations::entityFormAlter function core/modules/workspaces/src/EntityOperations.php Alters entity forms to disallow concurrent editing in multiple workspaces.
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.
FormOperations::formAlter function core/modules/workspaces/src/FormOperations.php Alters forms to disallow editing in non-default workspaces.
LayoutBuilderTest::testFormAlter function core/modules/layout_builder/tests/src/Functional/LayoutBuilderTest.php Tests that hook_form_alter() has access to the Layout Builder info.
LayoutBuilderTest::testOverridesFormAlter function core/modules/layout_builder/tests/src/Functional/LayoutBuilderTest.php Tests a custom alter of the overrides form.
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
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.
NodeTranslationHandler::entityFormAlter function core/modules/node/src/NodeTranslationHandler.php Performs the needed alterations to the entity form.
PagerPluginBase::exposedFormAlter function core/modules/views/src/Plugin/views/pager/PagerPluginBase.php
ProfileTranslationHandler::entityFormAlter function core/modules/user/src/ProfileTranslationHandler.php Performs the needed alterations to the entity 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
TermTranslationHandler::entityFormAlter function core/modules/taxonomy/src/TermTranslationHandler.php Performs the needed alterations to the entity form.

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