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
ThemeInstallerTest::testThemeInfoAlter function core/tests/Drupal/KernelTests/Core/Theme/ThemeInstallerTest.php Tests that theme info can be altered by a module.
ThemeManager::alter function core/lib/Drupal/Core/Theme/ThemeManager.php Passes alterable variables to specific $theme_TYPE_alter() implementations.
ThemeManager::alterForTheme function core/lib/Drupal/Core/Theme/ThemeManager.php @todo Should we cache some of these information?
ThemeManagerInterface::alter function core/lib/Drupal/Core/Theme/ThemeManagerInterface.php Passes alterable variables to specific $theme_TYPE_alter() implementations.
ThemeManagerInterface::alterForTheme function core/lib/Drupal/Core/Theme/ThemeManagerInterface.php Provides an alter hook for a specific theme.
ThemePageTestHooks::systemInfoAlter function core/modules/system/tests/modules/theme_page_test/src/Hook/ThemePageTestHooks.php Implements hook_system_info_alter().
ThemeSuggestionsAlterTest class core/modules/system/tests/src/Functional/Theme/ThemeSuggestionsAlterTest.php Tests theme suggestion alter hooks.
ThemeSuggestionsAlterTest.php file core/modules/system/tests/src/Functional/Theme/ThemeSuggestionsAlterTest.php
ThemeSuggestionsAlterTest::$defaultTheme property core/modules/system/tests/src/Functional/Theme/ThemeSuggestionsAlterTest.php The theme to install as the default for testing.
ThemeSuggestionsAlterTest::$modules property core/modules/system/tests/src/Functional/Theme/ThemeSuggestionsAlterTest.php Modules to install.
ThemeSuggestionsAlterTest::setUp function core/modules/system/tests/src/Functional/Theme/ThemeSuggestionsAlterTest.php
ThemeSuggestionsAlterTest::testExecutionOrder function core/modules/system/tests/src/Functional/Theme/ThemeSuggestionsAlterTest.php Tests execution order of theme suggestion alter hooks.
ThemeSuggestionsAlterTest::testGeneralSuggestionsAlter function core/modules/system/tests/src/Functional/Theme/ThemeSuggestionsAlterTest.php Tests hook_theme_suggestions_alter().
ThemeSuggestionsAlterTest::testSpecificSuggestionsAlter function core/modules/system/tests/src/Functional/Theme/ThemeSuggestionsAlterTest.php Tests that theme suggestion alter hooks work for specific theme calls.
ThemeSuggestionsAlterTest::testTemplateSuggestions function core/modules/system/tests/src/Functional/Theme/ThemeSuggestionsAlterTest.php Tests that hooks to provide theme suggestions work.
ThemeSuggestionsAlterTest::testTemplateSuggestionsAlter function core/modules/system/tests/src/Functional/Theme/ThemeSuggestionsAlterTest.php Tests that theme suggestion alter hooks work for templates.
ThemeSuggestionsTestHooks::themeSuggestionsAlter function core/modules/system/tests/modules/theme_suggestions_test/src/Hook/ThemeSuggestionsTestHooks.php Implements hook_theme_suggestions_alter().
ThemeSuggestionsTestHooks::themeSuggestionsThemeTestSpecificSuggestionsAlter function core/modules/system/tests/modules/theme_suggestions_test/src/Hook/ThemeSuggestionsTestHooks.php Implements hook_theme_suggestions_HOOK_alter().
ThemeSuggestionsTestHooks::themeSuggestionsThemeTestSuggestionsAlter function core/modules/system/tests/modules/theme_suggestions_test/src/Hook/ThemeSuggestionsTestHooks.php Implements hook_theme_suggestions_HOOK_alter().
ThemeTestController::generalSuggestionAlter function core/modules/system/tests/modules/theme_test/src/ThemeTestController.php Menu callback for testing hook_theme_suggestions_alter().
ThemeTestController::specificSuggestionAlter function core/modules/system/tests/modules/theme_test/src/ThemeTestController.php Menu callback for testing suggestion alter hooks with specific suggestions.
ThemeTestController::suggestionAlter function core/modules/system/tests/modules/theme_test/src/ThemeTestController.php Menu callback for testing suggestion alter hooks with template files.
ThemeTestHooks::libraryInfoAlter function core/modules/system/tests/modules/theme_test/src/Hook/ThemeTestHooks.php Implements hook_library_info_alter().
ThemeTestHooks::systemInfoAlter function core/modules/system/tests/modules/theme_test/src/Hook/ThemeTestHooks.php Implements hook_system_info_alter().
ThemeTestHooks::themeRegistryAlter function core/modules/system/tests/modules/theme_test/src/Hook/ThemeTestHooks.php Implements hook_theme_registry_alter().
ThemeTestHooks::themeSuggestionsAlter function core/modules/system/tests/modules/theme_test/src/Hook/ThemeTestHooks.php Implements hook_theme_suggestions_alter().
ThemeTestHooks::themeSuggestionsThemeTestSuggestionsAlter function core/modules/system/tests/modules/theme_test/src/Hook/ThemeTestHooks.php Implements hook_theme_suggestions_HOOK_alter().
theme_page_test_system_info_alter function core/modules/system/tests/modules/theme_page_test/theme_page_test.module Implements hook_system_info_alter().
theme_suggestions_test_theme_suggestions_alter function core/modules/system/tests/modules/theme_suggestions_test/theme_suggestions_test.module Implements hook_theme_suggestions_alter().
theme_suggestions_test_theme_suggestions_theme_test_specific_suggestions_alter function core/modules/system/tests/modules/theme_suggestions_test/theme_suggestions_test.module Implements hook_theme_suggestions_HOOK_alter().
theme_suggestions_test_theme_suggestions_theme_test_suggestions_alter function core/modules/system/tests/modules/theme_suggestions_test/theme_suggestions_test.module Implements hook_theme_suggestions_HOOK_alter().
TokenTest::testReplaceWithHookTokensAlterWithBubbleableMetadata function core/tests/Drupal/Tests/Core/Utility/TokenTest.php @covers ::replace
@covers ::replace
ToolbarDisableUserToolbarHooks::toolbarAlter function core/modules/toolbar/tests/modules/toolbar_disable_user_toolbar/src/Hook/ToolbarDisableUserToolbarHooks.php Implements hook_toolbar_alter().
toolbar_disable_user_toolbar_toolbar_alter function core/modules/toolbar/tests/modules/toolbar_disable_user_toolbar/toolbar_disable_user_toolbar.module Implements hook_toolbar_alter().
tour_test_tour_tips_alter function core/modules/tour/tests/tour_test/tour_test.module Implements hook_tour_tips_alter().
tracker_views_data_alter function core/modules/tracker/tracker.views.inc Implements hook_views_data_alter().
TypedConfigManager::alterDefinitions function core/lib/Drupal/Core/Config/TypedConfigManager.php Invokes the hook to alter the definitions if the alter hook is set.
umami_form_alter function core/profiles/demo_umami/themes/umami/umami.theme Implements hook_form_alter().
umami_form_search_block_form_alter function core/profiles/demo_umami/themes/umami/umami.theme Implements hook_form_FORM_ID_alter().
umami_theme_suggestions_block_alter function core/profiles/demo_umami/themes/umami/umami.theme Implements hook_theme_suggestions_HOOK_alter() for block templates.
UniqueFieldConstraintTestHooks::entityBaseFieldInfoAlter function core/modules/system/tests/modules/unique_field_constraint_test/src/Hook/UniqueFieldConstraintTestHooks.php Implements hook_entity_base_field_info_alter().
UniqueFieldConstraintTestHooks::queryEntityTestAccessAlter function core/modules/system/tests/modules/unique_field_constraint_test/src/Hook/UniqueFieldConstraintTestHooks.php Implements hook_query_entity_test_access_alter().
unique_field_constraint_test_entity_base_field_info_alter function core/modules/system/tests/modules/unique_field_constraint_test/unique_field_constraint_test.module Implements hook_entity_base_field_info_alter().
unique_field_constraint_test_query_entity_test_access_alter function core/modules/system/tests/modules/unique_field_constraint_test/unique_field_constraint_test.module Implements hook_query_entity_test_access_alter().
unversioned_assets_test_library_info_alter function core/modules/system/tests/modules/unversioned_assets_test/unversioned_assets_test.module Implements hook_library_info_build().
UpdateContribTest::testHookUpdateStatusAlter function core/modules/update/tests/src/Functional/UpdateContribTest.php Checks that hook_update_status_alter() works to change a status.
UpdateRouteSubscriber::alterRoutes function core/modules/update/src/Routing/UpdateRouteSubscriber.php Alters existing routes for a specific collection.
UpdateScriptTestHooks::systemInfoAlter function core/modules/system/tests/modules/update_script_test/src/Hook/UpdateScriptTestHooks.php Implements hook_system_info_alter().
UpdateServiceProvider::alter function core/lib/Drupal/Core/Update/UpdateServiceProvider.php Modifies existing service definitions.
UpdateTestHooks::systemInfoAlter function core/modules/update/tests/modules/update_test/src/Hook/UpdateTestHooks.php Implements hook_system_info_alter().

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