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
SystemHooks::themeRegistryAlter function core/modules/system/src/Hook/SystemHooks.php Implements hook_theme_registry_alter().
SystemModuleTestHooks::pageAttachmentsAlter function core/modules/system/tests/modules/system_module_test/src/Hook/SystemModuleTestHooks.php Implements hook_page_attachments_alter().
SystemTestHooks::systemInfoAlter function core/modules/system/tests/modules/system_test/src/Hook/SystemTestHooks.php Implements hook_system_info_alter().
system_module_test_page_attachments_alter function core/modules/system/tests/modules/system_module_test/system_module_test.module Implements hook_page_attachments_alter().
TaxonomyHooks::localTasksAlter function core/modules/taxonomy/src/Hook/TaxonomyHooks.php Implements hook_local_tasks_alter().
TaxonomyQueryAlterTest class core/modules/taxonomy/tests/src/Kernel/TaxonomyQueryAlterTest.php Tests that appropriate query tags are added.
TaxonomyQueryAlterTest.php file core/modules/taxonomy/tests/src/Kernel/TaxonomyQueryAlterTest.php
TaxonomyQueryAlterTest::$modules property core/modules/taxonomy/tests/src/Kernel/TaxonomyQueryAlterTest.php Modules to install.
TaxonomyQueryAlterTest::assertQueryTagTestResult function core/modules/taxonomy/tests/src/Kernel/TaxonomyQueryAlterTest.php Verifies invocation of the hooks in the test module.
TaxonomyQueryAlterTest::setupQueryTagTestHooks function core/modules/taxonomy/tests/src/Kernel/TaxonomyQueryAlterTest.php Sets up the hooks in the test module.
TaxonomyQueryAlterTest::testTaxonomyQueryAlter function core/modules/taxonomy/tests/src/Kernel/TaxonomyQueryAlterTest.php Tests that appropriate tags are added when querying the database.
TaxonomyTermDisplayConfigurableTestHooks::entityBaseFieldInfoAlter function core/modules/taxonomy/tests/modules/taxonomy_term_display_configurable_test/src/Hook/TaxonomyTermDisplayConfigurableTestHooks.php Implements hook_entity_base_field_info_alter().
TaxonomyTermModerationHandler::enforceRevisionsBundleFormAlter function core/modules/content_moderation/src/Entity/Handler/TaxonomyTermModerationHandler.php Alters bundle forms to enforce revision handling.
TaxonomyTermModerationHandler::enforceRevisionsEntityFormAlter function core/modules/content_moderation/src/Entity/Handler/TaxonomyTermModerationHandler.php Alters entity forms to enforce revision handling.
TaxonomyTestHooks::formTaxonomyTermFormAlter function core/modules/taxonomy/tests/modules/taxonomy_test/src/Hook/TaxonomyTestHooks.php Implements hook_form_BASE_FORM_ID_alter() for the taxonomy term form.
TaxonomyTestHooks::queryAlter function core/modules/taxonomy/tests/modules/taxonomy_test/src/Hook/TaxonomyTestHooks.php Implements hook_query_alter().
TaxonomyTestHooks::queryTaxonomyTermAccessAlter function core/modules/taxonomy/tests/modules/taxonomy_test/src/Hook/TaxonomyTestHooks.php Implements hook_query_TAG_alter().
TaxonomyTestHooks::queryTermAccessAlter function core/modules/taxonomy/tests/modules/taxonomy_test/src/Hook/TaxonomyTestHooks.php Implements hook_query_TAG_alter().
TaxonomyViewsHooks::fieldViewsDataAlter function core/modules/taxonomy/src/Hook/TaxonomyViewsHooks.php Implements hook_field_views_data_alter().
TaxonomyViewsHooks::viewsDataAlter function core/modules/taxonomy/src/Hook/TaxonomyViewsHooks.php Implements hook_views_data_alter().
taxonomy_field_views_data_alter function core/modules/taxonomy/taxonomy.views.inc Implements hook_field_views_data_alter().
taxonomy_term_display_configurable_test_entity_base_field_info_alter function core/modules/taxonomy/tests/modules/taxonomy_term_display_configurable_test/taxonomy_term_display_configurable_test.module Implements hook_entity_base_field_info_alter().
taxonomy_test_form_taxonomy_term_form_alter function core/modules/taxonomy/tests/modules/taxonomy_test/taxonomy_test.module Implements hook_form_BASE_FORM_ID_alter() for the taxonomy term form.
taxonomy_test_query_alter function core/modules/taxonomy/tests/modules/taxonomy_test/taxonomy_test.module Implements hook_query_alter().
taxonomy_test_query_taxonomy_term_access_alter function core/modules/taxonomy/tests/modules/taxonomy_test/taxonomy_test.module Implements hook_query_TAG_alter().
taxonomy_test_query_term_access_alter function core/modules/taxonomy/tests/modules/taxonomy_test/taxonomy_test.module Implements hook_query_TAG_alter().
taxonomy_views_data_alter function core/modules/taxonomy/taxonomy.views.inc Implements hook_views_data_alter().
TelephoneHooks::fieldFormatterInfoAlter function core/modules/telephone/src/Hook/TelephoneHooks.php Implements hook_field_formatter_info_alter().
TelephoneHooks::fieldTypeCategoryInfoAlter function core/modules/telephone/src/Hook/TelephoneHooks.php Implements hook_field_type_category_info_alter().
telephone_field_formatter_info_alter function core/modules/telephone/telephone.module Implements hook_field_formatter_info_alter().
telephone_field_type_category_info_alter function core/modules/telephone/telephone.module Implements hook_field_type_category_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.
TestModuleRequiredByThemeHooks::systemInfoAlter function core/modules/system/tests/themes/test_theme_depending_on_modules/test_module_required_by_theme/src/Hook/TestModuleRequiredByThemeHooks.php Implements hook_system_info_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_node_alter function core/modules/system/tests/themes/test_theme/test_theme.theme Implements hook_theme_suggestions_HOOK_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.
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.

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