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 11.x for alter
  6. Other projects
Title Object type File name Summary
ServiceModifierInterface::alter function core/lib/Drupal/Core/DependencyInjection/ServiceModifierInterface.php Modifies existing service definitions.
ServiceProviderBase::alter function core/lib/Drupal/Core/DependencyInjection/ServiceProviderBase.php
ServiceProviderTestServiceProvider::alter function core/modules/system/tests/modules/service_provider_test/src/ServiceProviderTestServiceProvider.php
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
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
StaticTest::alterRouteDefinition function core/modules/views/tests/modules/views_test_data/src/Plugin/views/access/StaticTest.php
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::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
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
TaxonomyTermModerationHandler::enforceRevisionsEntityFormAlter function core/modules/content_moderation/src/Entity/Handler/TaxonomyTermModerationHandler.php
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
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.