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. Other projects
Title Object type File name Summary
AlterTest::testAlterWithJoin function core/tests/Drupal/KernelTests/Core/Database/AlterTest.php Tests that we can alter the joins on a query.
AlterTest::testDrupalAlter function core/modules/system/tests/src/Kernel/Common/AlterTest.php Tests if the theme has been altered.
AlterTest::testExecutionOrder function core/modules/system/tests/src/Functional/Form/AlterTest.php Tests execution order of hook_form_alter() and hook_form_FORM_ID_alter().
AlterTest::testSimpleAlter function core/tests/Drupal/KernelTests/Core/Database/AlterTest.php Tests that we can do basic alters.
AlterTest::testSimpleAlterSubquery function core/tests/Drupal/KernelTests/Core/Database/AlterTest.php Tests that we can do basic alters on subqueries.
AlwaysAltersAccessPolicy class core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php A test access policy that alters an existing policy.
AlwaysAltersAccessPolicy::alterPermissions function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Alter the permissions after all policies have finished building them.
AlwaysAltersAccessPolicy::applies function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Checks whether this access policy applies to a given scope.
AlwaysAltersAccessPolicy::getPersistentCacheContexts function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Gets the persistent cache contexts.
AnnouncementsFeedHooks::toolbarAlter function core/modules/announcements_feed/src/Hook/AnnouncementsFeedHooks.php Implements hook_toolbar_alter().
announcements_feed_toolbar_alter function core/modules/announcements_feed/announcements_feed.module 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
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().
BigPipeBypassJsHooks::libraryInfoAlter function core/modules/big_pipe/tests/modules/big_pipe_bypass_js/src/Hook/BigPipeBypassJsHooks.php Implements hook_library_info_alter().
big_pipe_bypass_js_library_info_alter function core/modules/big_pipe/tests/modules/big_pipe_bypass_js/big_pipe_bypass_js.module Implements hook_library_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.
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::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.
block_test_block_alter function core/modules/block/tests/modules/block_test/block_test.module Implements hook_block_alter().
block_test_block_build_test_cache_alter function core/modules/block/tests/modules/block_test/block_test.module Implements hook_block_build_BASE_BLOCK_ID_alter().
block_test_block_view_test_cache_alter function core/modules/block/tests/modules/block_test/block_test.module Implements hook_block_view_BASE_BLOCK_ID_alter().
book_form_node_confirm_form_alter function core/modules/book/book.module Implements hook_form_BASE_FORM_ID_alter() for \Drupal\node\Form\NodeDeleteForm.
book_form_node_form_alter function core/modules/book/book.module Implements hook_form_BASE_FORM_ID_alter() for \Drupal\node\NodeForm.
book_migration_plugins_alter function core/modules/book/book.module Implements hook_migration_plugins_alter().
book_node_links_alter function core/modules/book/book.module Implements hook_node_links_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.
CachePluginBase::alterCacheMetadata function core/modules/views/src/Plugin/views/cache/CachePluginBase.php Alters the cache metadata of a display upon saving a view.
CAlterHooks class core/modules/system/tests/modules/HookOrder/ccc_hook_order_test/src/Hook/CAlterHooks.php This class contains hook implementations.

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