Search for alter

  1. Search 7.x for alter
  2. Search 9.5.x for alter
  3. Search 10.3.x for alter
  4. Search 11.x for alter
  5. Other projects
Title Object type File name Summary
NodeQueryAlterTest::$noAccessUser property core/modules/node/tests/src/Functional/NodeQueryAlterTest.php User without permission to view content.
NodeQueryAlterTest::setUp function core/modules/node/tests/src/Functional/NodeQueryAlterTest.php
NodeQueryAlterTest::testNodeQueryAlterLowLevelEditAccess function core/modules/node/tests/src/Functional/NodeQueryAlterTest.php Tests 'node_access' query alter, for edit access.
NodeQueryAlterTest::testNodeQueryAlterLowLevelNoAccess function core/modules/node/tests/src/Functional/NodeQueryAlterTest.php Tests 'node_access' query alter, for user without access.
NodeQueryAlterTest::testNodeQueryAlterLowLevelWithAccess function core/modules/node/tests/src/Functional/NodeQueryAlterTest.php Tests 'node_access' query alter, for user with access.
NodeQueryAlterTest::testNodeQueryAlterOverride function core/modules/node/tests/src/Functional/NodeQueryAlterTest.php Tests 'node_access' query alter override.
NodeQueryAlterTest::testNodeQueryAlterWithRevisions function core/modules/node/tests/src/Functional/NodeQueryAlterTest.php Tests 'node_access' query alter with revision-enabled nodes.
NodeSearch::searchFormAlter function core/modules/node/src/Plugin/Search/NodeSearch.php Alters the search form when being built for a given plugin.
NodeTranslationHandler::entityFormAlter function core/modules/node/src/NodeTranslationHandler.php Performs the needed alterations to the entity form.
NodeTranslationUITest::doTestAlternateHreflangLinks function core/modules/node/tests/src/Functional/NodeTranslationUITest.php Tests that the given path provides the correct alternate hreflang links.
node_config_translation_info_alter function core/modules/node/node.module Implements hook_config_translation_info_alter().
node_display_configurable_test_entity_base_field_info_alter function core/modules/node/tests/modules/node_display_configurable_test/node_display_configurable_test.module Implements hook_entity_base_field_info_alter().
node_entity_view_display_alter function core/modules/node/node.module Implements hook_entity_view_display_alter().
node_form_system_themes_admin_form_alter function core/modules/node/node.module Implements hook_form_FORM_ID_alter().
node_query_node_access_alter function core/modules/node/node.module Implements hook_query_TAG_alter().
node_test_entity_view_mode_alter function core/modules/node/tests/modules/node_test/node_test.module Implements hook_entity_view_mode_alter().
node_test_form_alter function core/modules/node/tests/modules/node_test/node_test.module Implements hook_form_alter().
node_test_node_access_records_alter function core/modules/node/tests/modules/node_test/node_test.module Implements hook_node_access_records_alter().
node_test_node_build_defaults_alter function core/modules/node/tests/modules/node_test/node_test.module Implements hook_ENTITY_TYPE_build_defaults_alter() for node entities.
node_test_node_grants_alter function core/modules/node/tests/modules/node_test/node_test.module Implements hook_node_grants_alter().
node_test_views_views_data_alter function core/modules/node/tests/modules/node_test_views/node_test_views.views.inc Implements hook_views_data_alter().
None::alterRouteDefinition function core/modules/views/src/Plugin/views/access/None.php Allows access plugins to alter the route definition of a view.
PageRenderTest::testHookPageAlter function core/modules/system/tests/src/Kernel/Common/PageRenderTest.php Tests hook_page_attachments_alter() exceptions.
PagerPluginBase::exposedFormAlter function core/modules/views/src/Plugin/views/pager/PagerPluginBase.php
page_cache_form_test_form_page_cache_form_test_alter function core/modules/page_cache/tests/modules/page_cache_form_test.module Implements hook_form_FORM_ID_alter().
page_cache_form_test_module_implements_alter function core/modules/page_cache/tests/modules/page_cache_form_test.module Implements hook_module_implements_alter().
ParamConverterSubscriber::onRoutingRouteAlterSetParameterConverters function core/lib/Drupal/Core/EventSubscriber/ParamConverterSubscriber.php Applies parameter converters to route parameters.
PathAliasDeprecatedTestServiceProvider::alter function core/modules/path_alias/tests/modules/path_alias_deprecated_test/src/PathAliasDeprecatedTestServiceProvider.php Modifies existing service definitions.
PathPluginBase::alterRoutes function core/modules/views/src/Plugin/views/display/PathPluginBase.php Alters a collection of routes and replaces definitions to the view.
PathPluginBase::getAlteredRouteNames function core/modules/views/src/Plugin/views/display/PathPluginBase.php Returns the list of routes overridden by Views.
PathPluginBaseTest::testAlterPostRestRoute function core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php Tests the altering of a REST route.
PathPluginBaseTest::testAlterRoute function core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php Tests the alter route method.
PathPluginBaseTest::testAlterRoutesWithOptionalParameters function core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php Tests altering routes with optional parameters in the overridden route.
PathPluginBaseTest::testAlterRoutesWithParameters function core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php Tests altering routes with parameters in the overridden route.
PathPluginBaseTest::testAlterRoutesWithParametersAndUpcasting function core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php Tests altering routes with parameters and upcasting information
PathPluginBaseTest::testAlterRouteWithAlterCallback function core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php Tests the alter route method with preexisting title callback.
PathRootsSubscriber::onRouteAlter function core/lib/Drupal/Core/EventSubscriber/PathRootsSubscriber.php Collects all path roots.
path_entity_base_field_info_alter function core/modules/path/path.module Implements hook_entity_base_field_info_alter().
path_entity_type_alter function core/modules/path/path.module Implements hook_entity_type_alter().
path_field_widget_form_alter function core/modules/path/path.module Implements hook_field_widget_form_alter().
Permission::alterRouteDefinition function core/modules/user/src/Plugin/views/access/Permission.php Allows access plugins to alter the route definition of a view.
PhpTransliterationTest::providerTestPhpTransliterationWithAlter function core/tests/Drupal/Tests/Core/Transliteration/PhpTransliterationTest.php Provides test data for testPhpTransliterationWithAlter.
PhpTransliterationTest::testPhpTransliterationWithAlter function core/tests/Drupal/Tests/Core/Transliteration/PhpTransliterationTest.php Tests the PhpTransliteration with an alter hook.
PluginAlterTest class core/tests/Drupal/KernelTests/Core/Render/Element/PluginAlterTest.php @group Render
PluginAlterTest.php file core/tests/Drupal/KernelTests/Core/Render/Element/PluginAlterTest.php
PluginAlterTest::$modules property core/tests/Drupal/KernelTests/Core/Render/Element/PluginAlterTest.php Modules to enable.
PluginAlterTest::testPluginAlter function core/tests/Drupal/KernelTests/Core/Render/Element/PluginAlterTest.php Tests hook_element_plugin_alter().
plugin_test_plugin_test_alter function core/modules/system/tests/modules/plugin_test/plugin_test.module Implements hook_plugin_test_alter().
ProfileTranslationHandler::entityFormAlter function core/modules/user/src/ProfileTranslationHandler.php Performs the needed alterations to the entity form.
QueryBase::$alterMetaData property core/lib/Drupal/Core/Entity/Query/QueryBase.php The query metadata for alter purposes.

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