Search for hook_

  1. Search 7.x for hook_
  2. Search 9.5.x for hook_
  3. Search 8.9.x for hook_
  4. Search 10.3.x for hook_
  5. Search main for hook_
  6. Other projects
Title Object type File name Summary
UserHooks::formSystemRegionalSettingsAlter function core/modules/user/src/Hook/UserHooks.php Implements hook_form_FORM_ID_alter() for \Drupal\system\Form\RegionalForm.
UserHooks::help function core/modules/user/src/Hook/UserHooks.php Implements hook_help().
UserHooks::jsSettingsAlter function core/modules/user/src/Hook/UserHooks.php Implements hook_js_settings_alter().
UserHooks::mail function core/modules/user/src/Hook/UserHooks.php Implements hook_mail().
UserHooks::modulesUninstalled function core/modules/user/src/Hook/UserHooks.php Implements hook_modules_uninstalled().
UserHooks::templatePreprocessDefaultVariablesAlter function core/modules/user/src/Hook/UserHooks.php Implements hook_template_preprocess_default_variables_alter().
UserHooks::toolbar function core/modules/user/src/Hook/UserHooks.php Implements hook_toolbar().
UserHooks::userLogin function core/modules/user/src/Hook/UserHooks.php Implements hook_user_login().
UserHooks::userLogout function core/modules/user/src/Hook/UserHooks.php Implements hook_user_logout().
UserHooks::userRoleDelete function core/modules/user/src/Hook/UserHooks.php Implements hook_ENTITY_TYPE_delete() for user_role entities.
UserHooks::userRoleInsert function core/modules/user/src/Hook/UserHooks.php Implements hook_ENTITY_TYPE_insert() for user_role entities.
UserHooks::userView function core/modules/user/src/Hook/UserHooks.php Implements hook_ENTITY_TYPE_view() for user entities.
UserHooks::userViewAlter function core/modules/user/src/Hook/UserHooks.php Implements hook_ENTITY_TYPE_view_alter() for user entities.
UserHooksTest class core/modules/user/tests/modules/user_hooks_test/src/Hook/UserHooksTest.php Contains hook implementations.
UserHooksTest.php file core/modules/user/tests/modules/user_hooks_test/src/Hook/UserHooksTest.php
UserHooksTest::userFormatNameAlter function core/modules/user/tests/modules/user_hooks_test/src/Hook/UserHooksTest.php Alters the username.
UserThemeHooks class core/modules/user/src/Hook/UserThemeHooks.php Hook implementations for user.
UserThemeHooks.php file core/modules/user/src/Hook/UserThemeHooks.php
UserThemeHooks::preprocessBlock function core/modules/user/src/Hook/UserThemeHooks.php Implements hook_preprocess_HOOK() for block templates.
UserThemeHooks::preprocessUser function core/modules/user/src/Hook/UserThemeHooks.php Prepares variables for user templates.
UserThemeHooks::preprocessUsername function core/modules/user/src/Hook/UserThemeHooks.php Prepares variables for username templates.
UserThemeHooks::theme function core/modules/user/src/Hook/UserThemeHooks.php Implements hook_theme().
UserThemeHooks::__construct function core/modules/user/src/Hook/UserThemeHooks.php
UserTokensHooks class core/modules/user/src/Hook/UserTokensHooks.php Hook implementations for user.
UserTokensHooks.php file core/modules/user/src/Hook/UserTokensHooks.php
UserTokensHooks::tokenInfo function core/modules/user/src/Hook/UserTokensHooks.php Implements hook_token_info().
UserTokensHooks::tokens function core/modules/user/src/Hook/UserTokensHooks.php Implements hook_tokens().
UserViewsExecutionHooks class core/modules/user/src/Hook/UserViewsExecutionHooks.php Hook implementations for user.
UserViewsExecutionHooks.php file core/modules/user/src/Hook/UserViewsExecutionHooks.php
UserViewsExecutionHooks::viewsQuerySubstitutions function core/modules/user/src/Hook/UserViewsExecutionHooks.php Implements hook_views_query_substitutions().
UserViewsHooks class core/modules/user/src/Hook/UserViewsHooks.php Hook implementations for user.
UserViewsHooks.php file core/modules/user/src/Hook/UserViewsHooks.php
UserViewsHooks::viewsPluginsArgumentValidatorAlter function core/modules/user/src/Hook/UserViewsHooks.php Implements hook_views_plugins_argument_validator_alter().
user_hooks_test.info.yml file core/modules/user/tests/modules/user_hooks_test/user_hooks_test.info.yml core/modules/user/tests/modules/user_hooks_test/user_hooks_test.info.yml
ViewsDisplay::$uses_hook_block property core/modules/views/src/Annotation/ViewsDisplay.php Does the display plugin provide blocks.
ViewsEntityTestHooks class core/modules/views/tests/modules/views_entity_test/src/Hook/ViewsEntityTestHooks.php Hook implementations for views_entity_test.
ViewsEntityTestHooks.php file core/modules/views/tests/modules/views_entity_test/src/Hook/ViewsEntityTestHooks.php
ViewsEntityTestHooks::entityBaseFieldInfo function core/modules/views/tests/modules/views_entity_test/src/Hook/ViewsEntityTestHooks.php Implements hook_entity_base_field_info().
ViewsEntityTestHooks::entityFieldAccess function core/modules/views/tests/modules/views_entity_test/src/Hook/ViewsEntityTestHooks.php Implements hook_entity_field_access().
ViewsEntityTestHooks::entityLoad function core/modules/views/tests/modules/views_entity_test/src/Hook/ViewsEntityTestHooks.php Implements hook_entity_load().
ViewsFormTestHooks class core/modules/views/tests/modules/views_form_test/src/Hook/ViewsFormTestHooks.php Hook implementations for views_form_test.
ViewsFormTestHooks.php file core/modules/views/tests/modules/views_form_test/src/Hook/ViewsFormTestHooks.php
ViewsFormTestHooks::formViewsFormMediaMediaPageListAlter function core/modules/views/tests/modules/views_form_test/src/Hook/ViewsFormTestHooks.php Implements hook_form_BASE_FORM_ID_alter().
ViewsHandlerManagerTest::testAlterHookInvocation function core/modules/views/tests/src/Unit/ViewsHandlerManagerTest.php Tests that hook_views_plugins_TYPE_alter() is invoked for a handler type.
ViewsHooks class core/modules/views/src/Hook/ViewsHooks.php Hook implementations for views.
ViewsHooks class core/themes/admin/src/Hook/ViewsHooks.php Provides views related hook implementations.
ViewsHooks.php file core/themes/admin/src/Hook/ViewsHooks.php
ViewsHooks.php file core/modules/views/src/Hook/ViewsHooks.php
ViewsHooks::baseFieldOverrideDelete function core/modules/views/src/Hook/ViewsHooks.php Implements hook_ENTITY_TYPE_delete().
ViewsHooks::baseFieldOverrideInsert function core/modules/views/src/Hook/ViewsHooks.php Implements hook_ENTITY_TYPE_insert().

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