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
AcceptHeaderRoutingTestServiceProvider::alter function core/modules/system/tests/modules/accept_header_routing_test/src/AcceptHeaderRoutingTestServiceProvider.php Modifies existing service definitions.
AccessPluginBase::alterRouteDefinition function core/modules/views/src/Plugin/views/access/AccessPluginBase.php Allows access plugins to alter the route definition of a view.
AccessPolicyBase::alterPermissions function core/lib/Drupal/Core/Session/AccessPolicyBase.php Alter the permissions after all policies have finished building them.
AccessPolicyInterface::alterPermissions function core/lib/Drupal/Core/Session/AccessPolicyInterface.php Alter the permissions after all policies have finished building them.
AccessPolicyProcessorTest::testAlterPermissions function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Tests that access policies can alter the final result.
AccessPolicyProcessorTest::testAlterPermissionsNoApply function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Tests that alters that do not apply are not processed.
AccessPolicyProcessorTest::testMultipleScopeAlterException function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Tests the multiple scopes exception.
AccessRouteAlterSubscriber class core/modules/system/src/EventSubscriber/AccessRouteAlterSubscriber.php Alters routes to add necessary requirements.
AccessRouteAlterSubscriber.php file core/modules/system/src/EventSubscriber/AccessRouteAlterSubscriber.php
AccessRouteAlterSubscriber::accessAdminMenuBlockPage function core/modules/system/src/EventSubscriber/AccessRouteAlterSubscriber.php Adds _access_admin_menu_block_page requirement to routes pointing to SystemController::systemAdminMenuBlockPage.
AccessRouteAlterSubscriber::getSubscribedEvents function core/modules/system/src/EventSubscriber/AccessRouteAlterSubscriber.php
AccountForm::alterPreferredLangcodeDescription function core/modules/user/src/AccountForm.php Alters the preferred language widget description.
AdminRouteSubscriber::alterRoutes function core/modules/system/src/EventSubscriber/AdminRouteSubscriber.php Alters existing routes for a specific collection.
AdminRouteSubscriberTest::providerTestAlterRoutes function core/modules/system/tests/src/Unit/Routing/AdminRouteSubscriberTest.php
AdminRouteSubscriberTest::testAlterRoutes function core/modules/system/tests/src/Unit/Routing/AdminRouteSubscriberTest.php @covers ::alterRoutes
@covers ::isHtmlRoute
advisory_feed_test_system_info_alter function core/modules/system/tests/modules/advisory_feed_test/advisory_feed_test.module Implements hook_system_info_alter().
AjaxTestMessageCommandForm::makeMessageAlternate function core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestMessageCommandForm.php Callback for testing MessageCommand using an alternate message location.
AlterableInterface interface core/lib/Drupal/Core/Database/Query/AlterableInterface.php Interface for a query that can be manipulated via an alter hook.
AlterableInterface.php file core/lib/Drupal/Core/Database/Query/AlterableInterface.php
AlterableInterface::addMetaData function core/lib/Drupal/Core/Database/Query/AlterableInterface.php Adds additional metadata to the query.
AlterableInterface::addTag function core/lib/Drupal/Core/Database/Query/AlterableInterface.php Adds a tag to a query.
AlterableInterface::getMetaData function core/lib/Drupal/Core/Database/Query/AlterableInterface.php Retrieves a given piece of metadata.
AlterableInterface::hasAllTags function core/lib/Drupal/Core/Database/Query/AlterableInterface.php Determines if a given query has all specified tags.
AlterableInterface::hasAnyTag function core/lib/Drupal/Core/Database/Query/AlterableInterface.php Determines if a given query has any specified tag.
AlterableInterface::hasTag function core/lib/Drupal/Core/Database/Query/AlterableInterface.php Determines if a given query has a given tag.
AlterContentMiddleware class core/modules/system/tests/modules/http_middleware_test/src/StackMiddleware/AlterContentMiddleware.php Alters the response before content length is calculated.
AlterContentMiddleware.php file core/modules/system/tests/modules/http_middleware_test/src/StackMiddleware/AlterContentMiddleware.php
AlterContentMiddleware::handle function core/modules/system/tests/modules/http_middleware_test/src/StackMiddleware/AlterContentMiddleware.php
AlterContentMiddleware::__construct function core/modules/system/tests/modules/http_middleware_test/src/StackMiddleware/AlterContentMiddleware.php
AlterTest class core/modules/system/tests/src/Functional/Form/AlterTest.php Tests hook_form_alter() and hook_form_FORM_ID_alter().
AlterTest class core/modules/system/tests/src/Kernel/Common/AlterTest.php Tests alteration of arguments passed to \Drupal::moduleHandler->alter().
AlterTest class core/tests/Drupal/KernelTests/Core/Database/AlterTest.php Tests the hook_query_alter capabilities of the Select builder.
AlterTest.php file core/tests/Drupal/KernelTests/Core/Database/AlterTest.php
AlterTest.php file core/modules/system/tests/src/Functional/Form/AlterTest.php
AlterTest.php file core/modules/system/tests/src/Kernel/Common/AlterTest.php
AlterTest::$defaultTheme property core/modules/system/tests/src/Functional/Form/AlterTest.php The theme to install as the default for testing.
AlterTest::$modules property core/modules/system/tests/src/Kernel/Common/AlterTest.php Modules to enable.
AlterTest::$modules property core/modules/system/tests/src/Functional/Form/AlterTest.php Modules to enable.
AlterTest::testAlterChangeConditional function core/tests/Drupal/KernelTests/Core/Database/AlterTest.php Tests that we can alter a query's conditionals.
AlterTest::testAlterChangeFields function core/tests/Drupal/KernelTests/Core/Database/AlterTest.php Tests that we can alter the fields of a query.
AlterTest::testAlterExpression function core/tests/Drupal/KernelTests/Core/Database/AlterTest.php Tests that we can alter expressions in the query.
AlterTest::testAlterRemoveRange function core/tests/Drupal/KernelTests/Core/Database/AlterTest.php Tests that we can remove a range() value from a query.
AlterTest::testAlterWithJoin function core/tests/Drupal/KernelTests/Core/Database/AlterTest.php Tests that we can alter the joins on a query.
AlterTest::testDrupalAlter function core/modules/system/tests/src/Kernel/Common/AlterTest.php Tests if the theme has been altered.
AlterTest::testExecutionOrder function core/modules/system/tests/src/Functional/Form/AlterTest.php Tests execution order of hook_form_alter() and hook_form_FORM_ID_alter().
AlterTest::testSimpleAlter function core/tests/Drupal/KernelTests/Core/Database/AlterTest.php Tests that we can do basic alters.
AlterTest::testSimpleAlterSubquery function core/tests/Drupal/KernelTests/Core/Database/AlterTest.php Tests that we can do basic alters on subqueries.
AlwaysAltersAccessPolicy class core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php
AlwaysAltersAccessPolicy::alterPermissions function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Alter the permissions after all policies have finished building them.
AlwaysAltersAccessPolicy::applies function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Checks whether this access policy applies to a given scope.

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