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. Other projects
Title Object type File name Summary
telephone_field_formatter_info_alter function core/modules/telephone/telephone.module Implements hook_field_formatter_info_alter().
TermTest::providerTestGetIndividualTermWithParent function core/modules/jsonapi/tests/src/Functional/TermTest.php Data provider for ::testGetIndividualTermWithParent().
TermTest::testGetIndividualTermWithParent function core/modules/jsonapi/tests/src/Functional/TermTest.php Tests GETting a term with a parent term other than the default <root> (0).
TermTranslationHandler::entityFormAlter function core/modules/taxonomy/src/TermTranslationHandler.php Performs the needed alterations to the entity form.
TestDiscoveryDeprecationTest::testHookSimpletestAlter function core/modules/simpletest/tests/src/Kernel/TestDiscoveryDeprecationTest.php @expectedDeprecation The deprecated alter hook hook_simpletest_alter() is implemented in these functions: simpletest_deprecation_test_simpletest_alter. Convert your test to a PHPUnit-based one and implement test listeners. See:…
TestServiceProvider::alter function core/tests/Drupal/KernelTests/TestServiceProvider.php Modifies existing service definitions.
test_legacy_theme_theme_suggestions_theme_test_function_suggestions_alter function core/modules/system/tests/themes/test_legacy_theme/test_legacy_theme.theme Implements hook_theme_suggestions_HOOK_alter().
test_module_required_by_theme_system_info_alter function core/modules/system/tests/themes/test_theme_depending_on_modules/test_module_required_by_theme/test_module_required_by_theme.module Implements hook_system_info_alter().
test_theme_element_info_alter function core/modules/system/tests/themes/test_theme/test_theme.theme Implements hook_element_info_alter().
test_theme_library_info_alter function core/modules/system/tests/themes/test_theme/test_theme.theme Implements hook_library_info_alter().
test_theme_settings_form_system_theme_settings_alter function core/modules/system/tests/themes/test_theme_settings/theme-settings.php Implements hook_form_system_theme_settings_alter().
test_theme_theme_form_system_theme_settings_alter function core/modules/system/tests/themes/test_theme_theme/test_theme_theme.theme Implements hook_form_system_theme_settings_alter().
test_theme_theme_registry_alter function core/modules/system/tests/themes/test_theme/test_theme.theme Implements hook_theme_registry_alter().
test_theme_theme_suggestions_alter function core/modules/system/tests/themes/test_theme/test_theme.theme Implements hook_theme_suggestions_alter().
test_theme_theme_suggestions_theme_test_suggestions_alter function core/modules/system/tests/themes/test_theme/test_theme.theme Implements hook_theme_suggestions_HOOK_alter().
test_theme_theme_test_alter_alter function core/modules/system/tests/themes/test_theme/test_theme.theme Tests a theme implementing an alter hook.
ThemeInstallerTest::testThemeInfoAlter function core/tests/Drupal/KernelTests/Core/Theme/ThemeInstallerTest.php Tests that theme info can be altered by a module.
ThemeLegacyTest::testSuggestionsAlterInclude function core/modules/system/tests/src/Functional/Theme/ThemeLegacyTest.php Tests that theme suggestion alter hooks work with theme hook includes.
ThemeLegacyTest::testThemeFunctionSuggestionsAlter function core/modules/system/tests/src/Functional/Theme/ThemeLegacyTest.php Tests that theme suggestion alter hooks work for theme functions.
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
@covers ::replace

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