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
SearchDateQueryAlterHooks::querySearchNodeSearchAlter function core/modules/search/tests/modules/search_date_query_alter/src/Hook/SearchDateQueryAlterHooks.php Implements hook_query_TAG_alter().
SearchHooks::formSearchBlockFormAlter function core/modules/search/src/Hook/SearchHooks.php Implements hook_form_FORM_ID_alter() for the search_block_form form.
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.
SearchQueryAlterHooks class core/modules/search/tests/modules/search_query_alter/src/Hook/SearchQueryAlterHooks.php Hook implementations for search_query_alter.
SearchQueryAlterHooks.php file core/modules/search/tests/modules/search_query_alter/src/Hook/SearchQueryAlterHooks.php
SearchQueryAlterHooks::querySearchNodeSearchAlter function core/modules/search/tests/modules/search_query_alter/src/Hook/SearchQueryAlterHooks.php Implements hook_query_TAG_alter().
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 install.
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
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_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
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.
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().
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
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().
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::libraryInfoAlter function core/modules/system/src/Hook/SystemHooks.php Implements hook_library_info_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().

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