Search for _alter

  1. Search 7.x for _alter
  2. Search 9.5.x for _alter
  3. Search 10.3.x for _alter
  4. Search 11.x for _alter
  5. Search main for _alter
  6. Other projects
Title Object type File name Summary
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.
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 enable.
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.
ThemeTestController::functionSuggestionAlter function core/modules/system/tests/modules/theme_legacy_test/src/ThemeTestController.php Menu callback for testing suggestion alter hooks with theme functions.
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.
ThemeTestController::suggestionAlterInclude function core/modules/system/tests/modules/theme_legacy_test/src/ThemeTestController.php Menu callback for testing includes with suggestion alter hooks.
theme_legacy_suggestions_test_theme_suggestions_theme_test_function_suggestions_alter function core/modules/system/tests/modules/theme_legacy_suggestions_test/theme_legacy_suggestions_test.module Implements hook_theme_suggestions_HOOK_alter().
theme_legacy_suggestions_test_theme_suggestions_theme_test_suggestions_include_alter function core/modules/system/tests/modules/theme_legacy_suggestions_test/theme_legacy_suggestions_test.module Implements hook_theme_suggestions_HOOK_alter().
theme_legacy_test_theme_suggestions_alter function core/modules/system/tests/modules/theme_legacy_test/theme_legacy_test.module Implements hook_theme_suggestions_alter().
theme_legacy_test_theme_suggestions_theme_test_suggestions_alter function core/modules/system/tests/modules/theme_legacy_test/theme_legacy_test.module 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().
theme_test_system_info_alter function core/modules/system/tests/modules/theme_test/theme_test.module Implements hook_system_info_alter().
theme_test_theme_suggestions_alter function core/modules/system/tests/modules/theme_test/theme_test.module Implements hook_theme_suggestions_alter().
theme_test_theme_suggestions_theme_test_suggestions_alter function core/modules/system/tests/modules/theme_test/theme_test.module Implements hook_theme_suggestions_HOOK_alter().
TokenTest::testReplaceWithHookTokensAlterWithBubbleableMetadata function core/tests/Drupal/Tests/Core/Utility/TokenTest.php @covers ::replace[[api-linebreak]]
@covers ::replace[[api-linebreak]]
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_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.
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().
UpdateContribTest::testHookUpdateStatusAlter function core/modules/update/tests/src/Functional/UpdateContribTest.php Checks that hook_update_status_alter() works to change a status.
UpdateServiceProvider::alter function core/lib/Drupal/Core/Update/UpdateServiceProvider.php Modifies existing service definitions.
update_form_system_modules_alter function core/modules/update/update.module Implements hook_form_FORM_ID_alter() for system_modules().
update_script_test_system_info_alter function core/modules/system/tests/modules/update_script_test/update_script_test.module Implements hook_system_info_alter().
update_test_system_info_alter function core/modules/update/tests/modules/update_test/update_test.module Implements hook_system_info_alter().
update_test_update_status_alter function core/modules/update/tests/modules/update_test/update_test.module Implements hook_update_status_alter().
UrlAlterFunctionalTest class core/modules/path_alias/tests/src/Functional/UrlAlterFunctionalTest.php Tests altering the inbound path and the outbound path.
UrlAlterFunctionalTest.php file core/modules/path_alias/tests/src/Functional/UrlAlterFunctionalTest.php
UrlAlterFunctionalTest::$defaultTheme property core/modules/path_alias/tests/src/Functional/UrlAlterFunctionalTest.php The theme to install as the default for testing.
UrlAlterFunctionalTest::$modules property core/modules/path_alias/tests/src/Functional/UrlAlterFunctionalTest.php Modules to enable.
UrlAlterFunctionalTest::assertUrlInboundAlter function core/modules/path_alias/tests/src/Functional/UrlAlterFunctionalTest.php Assert that a inbound path is altered to an expected value.
UrlAlterFunctionalTest::assertUrlOutboundAlter function core/modules/path_alias/tests/src/Functional/UrlAlterFunctionalTest.php Assert that an outbound path is altered to an expected value.

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