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.
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.
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.
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.
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
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.
TermTranslationHandler::entityFormAlter function core/modules/taxonomy/src/TermTranslationHandler.php Performs the needed alterations to the entity 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 enable.
ViewsFormAlterTest::testViewsFormAlter function core/modules/views/tests/src/Functional/ViewsFormAlterTest.php Tests hook_form_BASE_FORM_ID_alter for a ViewsForm.

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