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. Search main for _alter
  6. Other projects
Title Object type File name Summary
ServiceProviderTestServiceProvider::alter function core/modules/system/tests/modules/service_provider_test/src/ServiceProviderTestServiceProvider.php Modifies existing service definitions.
SettingsTrayHooks::blockAlter function core/modules/settings_tray/src/Hook/SettingsTrayHooks.php Implements hook_block_alter().
SettingsTrayHooks::blockViewAlter function core/modules/settings_tray/src/Hook/SettingsTrayHooks.php Implements hook_block_view_alter().
SettingsTrayHooks::contextualLinksViewAlter function core/modules/settings_tray/src/Hook/SettingsTrayHooks.php Implements hook_contextual_links_view_alter().
SettingsTrayHooks::cssAlter function core/modules/settings_tray/src/Hook/SettingsTrayHooks.php Implements hook_css_alter().
SettingsTrayHooks::toolbarAlter function core/modules/settings_tray/src/Hook/SettingsTrayHooks.php Implements hook_toolbar_alter().
ShortcutHooks::queryShortcutAccessAlter function core/modules/shortcut/src/Hook/ShortcutHooks.php Implements hook_query_TAG_alter() for 'shortcut_access'.
SmartDefaultSettingsTest::editorInfoAlter function core/modules/ckeditor5/tests/src/Kernel/SmartDefaultSettingsTest.php Implements hook_editor_info_alter().
SpecialAttributesRouteSubscriber::alterRoutes function core/lib/Drupal/Core/EventSubscriber/SpecialAttributesRouteSubscriber.php Alters existing routes for a specific collection.
SpecialAttributesRouteSubscriber::onAlterRoutes function core/lib/Drupal/Core/EventSubscriber/SpecialAttributesRouteSubscriber.php Delegates the route altering to self::alterRoutes().
Sql::alter function core/modules/views/src/Plugin/views/query/Sql.php Let modules modify the query just prior to finalizing it.
SqlBase::exposedFormAlter function core/modules/views/src/Plugin/views/pager/SqlBase.php Allows the exposed form to be altered.
StandardHooks::formInstallConfigureFormAlter function core/profiles/standard/src/Hook/StandardHooks.php Implements hook_form_FORM_ID_alter() for install_configure_form().
StaticTest::alterRouteDefinition function core/modules/views/tests/modules/views_test_data/src/Plugin/views/access/StaticTest.php Allows access plugins to alter the route definition of a view.
SuperUserAccessPolicyTest::alterPermissionsProvider function core/tests/Drupal/Tests/Core/Session/SuperUserAccessPolicyTest.php Data provider for testAlterPermissions.
SuperUserAccessPolicyTest::testAlterPermissions function core/tests/Drupal/Tests/Core/Session/SuperUserAccessPolicyTest.php Tests the alterPermissions method.
SyslogHooks::formSystemLoggingSettingsAlter function core/modules/syslog/src/Hook/SyslogHooks.php Implements hook_form_FORM_ID_alter().
system.access_route_alter_subscriber service core/modules/system/system.services.yml Drupal\system\EventSubscriber\AccessRouteAlterSubscriber
SystemHooks::archiverInfoAlter function core/modules/system/src/Hook/SystemHooks.php Implements hook_archiver_info_alter().
SystemHooks::blockViewSystemMainBlockAlter function core/modules/system/src/Hook/SystemHooks.php Implements hook_block_view_BASE_BLOCK_ID_alter().
SystemHooks::elementInfoAlter function core/modules/system/src/Hook/SystemHooks.php Implements hook_element_info_alter().
SystemHooks::jsSettingsAlter function core/modules/system/src/Hook/SystemHooks.php Implements hook_js_settings_alter().
SystemHooks::queryEntityReferenceAlter function core/modules/system/src/Hook/SystemHooks.php Implements hook_query_TAG_alter() for entity reference selection handlers.
SystemHooks::systemInfoAlter function core/modules/system/src/Hook/SystemHooks.php Implements hook_system_info_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().
TaxonomyHooks::localTasksAlter function core/modules/taxonomy/src/Hook/TaxonomyHooks.php Implements hook_local_tasks_alter().
TaxonomyOverviewOverrideHooks::entityTypeAlter function core/modules/taxonomy/tests/modules/taxonomy_overview_override_test/src/Hook/TaxonomyOverviewOverrideHooks.php Implements hook_entity_type_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().
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().
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.
TestDeprecatedSuggestionThemeHooks::themeSuggestionsAlter function core/modules/system/tests/themes/test_deprecated_suggestion_theme/src/Hook/TestDeprecatedSuggestionThemeHooks.php Implements hook_theme_suggestions_alter().
TestHookCollectionHooks::testHookAlter function core/modules/system/tests/themes/HookCollector/oop_hook_theme/src/Hook/TestHookCollectionHooks.php #[Hook('test_hook_alter')]

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