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
OliveroHooks::elementInfoAlter function core/themes/olivero/src/Hook/OliveroHooks.php Implements hook_element_info_alter().
OliveroHooks::formAlter function core/themes/olivero/src/Hook/OliveroHooks.php Implements hook_form_alter() for adding classes and placeholder text to the search forms.
OliveroHooks::formNodePreviewFormSelectAlter function core/themes/olivero/src/Hook/OliveroHooks.php Implements hook_form_FORM_ID_alter() for node_preview_form_select.
OliveroHooks::formViewsExposedFormAlter function core/themes/olivero/src/Hook/OliveroHooks.php Implements hook_form_FORM_ID_alter() for views_exposed_form.
OliveroHooks::themeSuggestionsBlockAlter function core/themes/olivero/src/Hook/OliveroHooks.php Implements hook_theme_suggestions_HOOK_alter() for block().
OliveroHooks::themeSuggestionsFormAlter function core/themes/olivero/src/Hook/OliveroHooks.php Implements hook_theme_suggestions_HOOK_alter() for form templates.
OliveroHooks::themeSuggestionsMenuAlter function core/themes/olivero/src/Hook/OliveroHooks.php Implements hook_theme_suggestions_HOOK_alter() for menu.
OliveroHooks::themeSuggestionsUserAlter function core/themes/olivero/src/Hook/OliveroHooks.php Implements hook_theme_suggestions_HOOK_alter().
olivero_drupal_alter_alter function core/modules/system/tests/modules/common_test/common_test.module Implements hook_TYPE_alter().
olivero_form_system_theme_settings_alter function core/themes/olivero/theme-settings.php Implements hook_form_FORM_ID_alter() for system_theme_settings.
OptionsTestHooks::formEntityTestEntityTestFormAlter function core/modules/options/tests/options_test/src/Hook/OptionsTestHooks.php Implements hook_form_FORM_ID_alter().
OptionsTestHooks::optionsListAlter function core/modules/options/tests/options_test/src/Hook/OptionsTestHooks.php Implements hook_options_list_alter().
OptionsWidgetsTest::testOptionsListAlter function core/modules/options/tests/src/Functional/OptionsWidgetsTest.php Tests hook_options_list_alter().
PackageManagerBypassServiceProvider::alter function core/modules/package_manager/tests/modules/package_manager_bypass/src/PackageManagerBypassServiceProvider.php Modifies existing service definitions.
PackageManagerTestValidationServiceProvider::alter function core/modules/package_manager/tests/modules/package_manager_test_validation/src/PackageManagerTestValidationServiceProvider.php Modifies existing service definitions.
PageCachePolicyTrait::alter function core/tests/Drupal/Tests/Traits/Core/Cache/PageCachePolicyTrait.php Sets up mock cache policies.
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 Allows the exposed form to be altered.
ParamConverterSubscriber::onRoutingRouteAlterSetParameterConverters function core/lib/Drupal/Core/EventSubscriber/ParamConverterSubscriber.php Applies parameter converters to route parameters.
PathHooks::entityBaseFieldInfoAlter function core/modules/path/src/Hook/PathHooks.php Implements hook_entity_base_field_info_alter().
PathHooks::entityTypeAlter function core/modules/path/src/Hook/PathHooks.php Implements hook_entity_type_alter().
PathHooks::fieldWidgetSingleElementFormAlter function core/modules/path/src/Hook/PathHooks.php Implements hook_field_widget_single_element_form_alter().
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.
Permission::alterRouteDefinition function core/modules/user/src/Plugin/views/access/Permission.php Allows access plugins to alter the route definition of a view.
PhpassHooks::formSystemModulesUninstallConfirmFormAlter function core/modules/phpass/src/Hook/PhpassHooks.php Implements hook_form_FORM_ID_alter() for system_modules_uninstall_confirm_form.
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 Tests Plugin Alter.
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 install.
PluginAlterTest::testPluginAlter function core/tests/Drupal/KernelTests/Core/Render/Element/PluginAlterTest.php Tests hook_element_plugin_alter().
PluginTestHooks::pluginTestAlter function core/modules/system/tests/modules/plugin_test/src/Hook/PluginTestHooks.php Implements hook_plugin_test_alter().
ProceduralHookThemeHooks::proceduralLegacyAlter function core/modules/system/tests/themes/HookCollector/procedural_hook_theme/src/Hook/ProceduralHookThemeHooks.php #[Hook('procedural_legacy_alter')]
procedural_hook_theme_procedural_alter function core/modules/system/tests/themes/HookCollector/procedural_hook_theme/procedural_hook_theme.theme Implements hook_procedural_alter().
procedural_hook_theme_procedural_legacy_alter function core/modules/system/tests/themes/HookCollector/procedural_hook_theme/procedural_hook_theme.theme Implements hook_procedural_legacy_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.
QueryBase::$alterTags property core/lib/Drupal/Core/Entity/Query/QueryBase.php The query tags.
QueryBase::alter function core/lib/Drupal/Core/Entity/Query/QueryBase.php Invoke hooks to allow modules to alter the entity query.
QueryPluginBase::alter function core/modules/views/src/Plugin/views/query/QueryPluginBase.php Let modules modify the query just prior to finalizing it.
RecipeTestTrait::alterRecipe function core/tests/Drupal/FunctionalTests/Core/Recipe/RecipeTestTrait.php Alters an existing recipe.
ReferenceBase::alterFieldInstanceMigration function core/modules/migrate_drupal/src/Plugin/migrate/field/ReferenceBase.php Apply any custom processing to the field instance migration.

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