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
SearchNode::searchFormAlter function core/modules/search/modules/search_node/src/Plugin/Search/SearchNode.php Alters the search form when being built for a given plugin.
SearchNodeHooks::entityViewDisplayAlter function core/modules/search/modules/search_node/src/Hook/SearchNodeHooks.php Implements hook_entity_view_display_alter().
SearchNodeHooks::formNodePreviewFormSelectAlter function core/modules/search/modules/search_node/src/Hook/SearchNodeHooks.php Implements hook_form_FORM_ID_alter().
SearchNodeViewsHooks::viewsDataAlter function core/modules/search/modules/search_node/src/Hook/SearchNodeViewsHooks.php Implements hook_views_data_alter().
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_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
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 altering the SelectQuery generated by EntityFieldQuery.
SelectionPluginBase::entityQueryAlter function core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionPluginBase.php Allows altering 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().
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().

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