Search for _alter

  1. Search 7.x for _alter
  2. Search 8.9.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
RouteTestSubscriber::alterRoutes function core/modules/system/tests/modules/router_test_directory/src/RouteTestSubscriber.php Alters existing routes for a specific collection.
RoutingEvents::ALTER constant core/lib/Drupal/Core/Routing/RoutingEvents.php Name of the event fired during route collection to allow changes to routes.
Schema::alterTable function core/modules/sqlite/src/Driver/Database/sqlite/Schema.php Create a table with a new schema containing the old content.
SchemaTest::testDefaultAfterAlter function core/tests/Drupal/KernelTests/Core/Database/SchemaTest.php Tests default values after altering table.
SearchDateIntervalTest::testDateIntervalQueryAlter function core/modules/search/tests/src/Functional/SearchDateIntervalTest.php Tests searching with date filters that exclude some translations.
SearchInterface::searchFormAlter function core/modules/search/src/Plugin/SearchInterface.php Alters the search form when being built for a given plugin.
SearchPluginBase::searchFormAlter function core/modules/search/src/Plugin/SearchPluginBase.php Alters the search form when being built for a given plugin.
SearchQueryAlterTest class core/modules/search/tests/src/Functional/SearchQueryAlterTest.php Tests that the node search query can be altered via the query alter hook.
SearchQueryAlterTest.php file core/modules/search/tests/src/Functional/SearchQueryAlterTest.php
SearchQueryAlterTest::$defaultTheme property core/modules/search/tests/src/Functional/SearchQueryAlterTest.php The theme to install as the default for testing.
SearchQueryAlterTest::$modules property core/modules/search/tests/src/Functional/SearchQueryAlterTest.php Modules to enable.
SearchQueryAlterTest::testQueryAlter function core/modules/search/tests/src/Functional/SearchQueryAlterTest.php Tests that the query alter works.
search_date_query_alter.info.yml file core/modules/search/tests/modules/search_date_query_alter/search_date_query_alter.info.yml core/modules/search/tests/modules/search_date_query_alter/search_date_query_alter.info.yml
search_date_query_alter.module file core/modules/search/tests/modules/search_date_query_alter/search_date_query_alter.module Adds date conditions to node searches.
search_date_query_alter_query_search_node_search_alter function core/modules/search/tests/modules/search_date_query_alter/search_date_query_alter.module Implements hook_query_TAG_alter().
search_form_search_block_form_alter function core/modules/search/search.module Implements hook_form_FORM_ID_alter() for the search_block_form form.
search_query_alter.info.yml file core/modules/search/tests/modules/search_query_alter/search_query_alter.info.yml core/modules/search/tests/modules/search_query_alter/search_query_alter.info.yml
search_query_alter.module file core/modules/search/tests/modules/search_query_alter/search_query_alter.module Test module that alters search queries.
search_query_alter_query_search_node_search_alter function core/modules/search/tests/modules/search_query_alter/search_query_alter.module Implements hook_query_TAG_alter().
Select::$alterMetaData property core/lib/Drupal/Core/Database/Query/Select.php The query metadata for alter purposes.
Select::$alterTags property core/lib/Drupal/Core/Database/Query/Select.php The query tags.
SelectionInterface::entityQueryAlter function core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionInterface.php Allows the selection to alter the SelectQuery generated by EntityFieldQuery.
SelectionPluginBase::entityQueryAlter function core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionPluginBase.php Allows the selection to alter the SelectQuery generated by EntityFieldQuery.
serialization.user_route_alter_subscriber service core/modules/serialization/serialization.services.yml Drupal\serialization\EventSubscriber\UserRouteAlterSubscriber
ServiceModifierInterface::alter function core/lib/Drupal/Core/DependencyInjection/ServiceModifierInterface.php Modifies existing service definitions.
ServiceProviderBase::alter function core/lib/Drupal/Core/DependencyInjection/ServiceProviderBase.php Modifies existing service definitions.
ServiceProviderTestServiceProvider::alter function core/modules/system/tests/modules/service_provider_test/src/ServiceProviderTestServiceProvider.php Modifies existing service definitions.
settings_tray_block_alter function core/modules/settings_tray/settings_tray.module Implements hook_block_alter().
settings_tray_block_view_alter function core/modules/settings_tray/settings_tray.module Implements hook_block_view_alter().
settings_tray_contextual_links_view_alter function core/modules/settings_tray/settings_tray.module Implements hook_contextual_links_view_alter().
settings_tray_css_alter function core/modules/settings_tray/settings_tray.module Implements hook_css_alter().
settings_tray_toolbar_alter function core/modules/settings_tray/settings_tray.module Implements hook_toolbar_alter().
seven_element_info_alter function core/themes/seven/seven.theme Implements hook_element_info_alter().
seven_form_alter function core/themes/seven/seven.theme Implements hook_form_alter().
seven_form_language_content_settings_form_alter function core/themes/seven/seven.theme Implements hook_form_FORM_ID_alter() for language_content_settings_form().
seven_form_media_form_alter function core/themes/seven/seven.theme Implements hook_form_BASE_FORM_ID_alter() for \Drupal\media\MediaForm.
seven_form_media_library_add_form_alter function core/themes/seven/seven.theme Implements hook_form_BASE_FORM_ID_alter().
seven_form_media_library_add_form_oembed_alter function core/themes/seven/seven.theme Implements hook_form_FORM_ID_alter().
seven_form_media_library_add_form_upload_alter function core/themes/seven/seven.theme Implements hook_form_FORM_ID_alter().
seven_form_node_form_alter function core/themes/seven/seven.theme Implements hook_form_BASE_FORM_ID_alter() for \Drupal\node\NodeForm.
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
stable_element_info_alter function core/themes/stable/stable.theme Implements hook_element_info_alter().
stable_library_info_alter function core/themes/stable/stable.theme Implements hook_library_info_alter().
standard_form_install_configure_form_alter function core/profiles/standard/standard.profile 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.
statistics_block_alter function core/modules/statistics/statistics.module Implements hook_block_alter().
statistics_node_links_alter function core/modules/statistics/statistics.module Implements hook_node_links_alter().

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