Search for _alter

  1. Search 7.x for _alter
  2. Search 9.5.x for _alter
  3. Search 8.9.x for _alter
  4. Search 10.3.x for _alter
  5. Search main for _alter
  6. Other projects
Title Object type File name Summary
AMissingTargetAlter::testASupertypeAlterReorderedFirstForBSubtypeByXyz function core/modules/system/tests/modules/HookOrder/aaa_hook_order_test/src/Hook/AMissingTargetAlter.php Implements hook_test_a_supertype_alter().
AnnouncementsFeedHooks::toolbarAlter function core/modules/announcements_feed/src/Hook/AnnouncementsFeedHooks.php Implements hook_toolbar_alter().
AnnouncementsFeedToolbarHooks::toolbarAlter function core/modules/announcements_feed/src/Hook/AnnouncementsFeedToolbarHooks.php Implements hook_toolbar_alter().
AttachedAssetsTest::testAlter function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests altering a JavaScript's weight via hook_js_alter().
AttachedAssetsTest::testLibraryAlter function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Adds a JavaScript library to the page and alters it.
AutomatedCronHooks::formSystemCronSettingsAlter function core/modules/automated_cron/src/Hook/AutomatedCronHooks.php Implements hook_form_FORM_ID_alter() for the system_cron_settings() form.
BAlterHooks class core/modules/system/tests/modules/HookOrder/bbb_hook_order_test/src/Hook/BAlterHooks.php This class contains hook implementations.
BAlterHooks.php file core/modules/system/tests/modules/HookOrder/bbb_hook_order_test/src/Hook/BAlterHooks.php
BAlterHooks::testSubtypeAlter function core/modules/system/tests/modules/HookOrder/bbb_hook_order_test/src/Hook/BAlterHooks.php Implements hook_test_subtype_alter().
BarAlterAccessPolicy class core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php A test access policy that adds a permission if another permission exists.
BarAlterAccessPolicy::alterPermissions function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Alter the permissions after all policies have finished building them.
BarAlterAccessPolicy::applies function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Checks whether this access policy applies to a given scope.
bbb_hook_order_test_procedural_alter function core/modules/system/tests/modules/HookOrder/bbb_hook_order_test/bbb_hook_order_test.module Implements hook_procedural_alter().
bbb_hook_order_test_procedural_subtype_alter function core/modules/system/tests/modules/HookOrder/bbb_hook_order_test/bbb_hook_order_test.module Implements hook_procedural_subtype_alter().
BCrossHookReorderAlter class core/modules/system/tests/modules/HookOrder/bbb_hook_order_test/src/Hook/BCrossHookReorderAlter.php Contains alter hook implementations.
BCrossHookReorderAlter.php file core/modules/system/tests/modules/HookOrder/bbb_hook_order_test/src/Hook/BCrossHookReorderAlter.php
BCrossHookReorderAlter::baseAlter function core/modules/system/tests/modules/HookOrder/bbb_hook_order_test/src/Hook/BCrossHookReorderAlter.php Implements hook_test_cross_hook_reorder_base_alter().
BCrossHookReorderAlter::baseAlterLast function core/modules/system/tests/modules/HookOrder/bbb_hook_order_test/src/Hook/BCrossHookReorderAlter.php Implements hook_test_cross_hook_reorder_base_alter().
BCrossHookReorderAlter::subtypeAlter function core/modules/system/tests/modules/HookOrder/bbb_hook_order_test/src/Hook/BCrossHookReorderAlter.php Implements hook_test_cross_hook_reorder_subtype_alter().
BigPipeBypassJsHooks::libraryInfoAlter function core/modules/big_pipe/tests/modules/big_pipe_bypass_js/src/Hook/BigPipeBypassJsHooks.php Implements hook_library_info_alter().
BigPipeMessagesHooks::elementInfoAlter function core/modules/big_pipe/tests/modules/big_pipe_messages_test/src/Hook/BigPipeMessagesHooks.php Implements hook_element_info_alter().
BlockContentEntityReferenceSelectionTest::testQueriesNotAltered function core/modules/block_content/tests/src/Kernel/BlockContentEntityReferenceSelectionTest.php Tests to make sure queries without the expected tags are not altered.
BlockContentHooks::entityTypeAlter function core/modules/block_content/src/Hook/BlockContentHooks.php Implements hook_entity_type_alter().
BlockContentHooks::queryEntityReferenceAlter function core/modules/block_content/src/Hook/BlockContentHooks.php Implements hook_query_TAG_alter().
BlockContentHooks::themeSuggestionsBlockAlter function core/modules/block_content/src/Hook/BlockContentHooks.php Implements hook_theme_suggestions_HOOK_alter() for block templates.
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.
BlockContentStorageBodyFieldHook::systemInfoAlter function core/modules/block_content/modules/block_content_storage_body_field/src/Hook/BlockContentStorageBodyFieldHook.php Implements hook_system_info_alter().
BlockHookOperationTest::testBlockOperationAlter function core/modules/block/tests/src/Functional/BlockHookOperationTest.php Tests the block list to see if the test_operation link is added.
BlockHooks::blockBuildLocalActionsBlockAlter function core/modules/block/src/Hook/BlockHooks.php Implements hook_block_build_BASE_BLOCK_ID_alter().
BlockRenderAlterContent class core/modules/block/tests/modules/block_test/src/BlockRenderAlterContent.php Implements a trusted preRender callback.
BlockRenderAlterContent.php file core/modules/block/tests/modules/block_test/src/BlockRenderAlterContent.php
BlockRenderAlterContent::preRender function core/modules/block/tests/modules/block_test/src/BlockRenderAlterContent.php Render API callback: Alters the content of a block.
BlockTestHooks::blockAlter function core/modules/block/tests/modules/block_test/src/Hook/BlockTestHooks.php Implements hook_block_alter().
BlockTestHooks::blockBuildTestCacheAlter function core/modules/block/tests/modules/block_test/src/Hook/BlockTestHooks.php Implements hook_block_build_BASE_BLOCK_ID_alter().
BlockTestHooks::blockViewPageTitleBlockAlter function core/modules/block/tests/modules/block_test/src/Hook/BlockTestHooks.php Implements hook_block_view_BASE_BLOCK_ID_alter().
BlockTestHooks::blockViewTestCacheAlter function core/modules/block/tests/modules/block_test/src/Hook/BlockTestHooks.php Implements hook_block_view_BASE_BLOCK_ID_alter().
BlockViewBuilderTest::testBlockViewBuilderBuildAlter function core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php Tests block build altering.
BlockViewBuilderTest::testBlockViewBuilderViewAlter function core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php Tests block view altering.
BMissingTargetAlter class core/modules/system/tests/modules/HookOrder/bbb_hook_order_test/src/Hook/BMissingTargetAlter.php Contains alter hook implementations.
BMissingTargetAlter.php file core/modules/system/tests/modules/HookOrder/bbb_hook_order_test/src/Hook/BMissingTargetAlter.php
BMissingTargetAlter::testABAlterRemovedByXyz function core/modules/system/tests/modules/HookOrder/bbb_hook_order_test/src/Hook/BMissingTargetAlter.php Implements hook_test_ab_alter().
BMissingTargetAlter::testABAlterReorderedFirstByXyz function core/modules/system/tests/modules/HookOrder/bbb_hook_order_test/src/Hook/BMissingTargetAlter.php Implements hook_test_ab_alter().
BMissingTargetAlter::testBAlter function core/modules/system/tests/modules/HookOrder/bbb_hook_order_test/src/Hook/BMissingTargetAlter.php Implements hook_test_b_alter().
BMissingTargetAlter::testBAlterRemovedByXyz function core/modules/system/tests/modules/HookOrder/bbb_hook_order_test/src/Hook/BMissingTargetAlter.php Implements hook_test_b_alter().
BMissingTargetAlter::testBAlterReorderedFirstByXyz function core/modules/system/tests/modules/HookOrder/bbb_hook_order_test/src/Hook/BMissingTargetAlter.php Implements hook_test_b_alter().
BMissingTargetAlter::testBSubtypeAlter function core/modules/system/tests/modules/HookOrder/bbb_hook_order_test/src/Hook/BMissingTargetAlter.php Implements hook_test_b_subtype_alter().
BundleClassTest::$alterAttributeBundleInfo property core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php Controls whether ::entityBundleInfoAlter() will alter bundle information.
BundleClassTest::entityBundleInfoAlter function core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php Implements hook_entity_bundle_info_alter().
CacheableMetadataCalculationTest::alterRouteDefinition function core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/src/Plugin/views/access/CacheableMetadataCalculationTest.php Allows access plugins to alter the route definition of a view.

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