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 11.x for hook_
  6. Other projects
Title Object type File name Summary
MenuLinkContentHooks::pathAliasInsert function core/modules/menu_link_content/src/Hook/MenuLinkContentHooks.php Implements hook_ENTITY_TYPE_insert() for 'path_alias'.
MenuLinkContentHooks::pathAliasUpdate function core/modules/menu_link_content/src/Hook/MenuLinkContentHooks.php Implements hook_ENTITY_TYPE_update() for 'path_alias'.
MenuLinkContentHooks::updatePathAlias function core/modules/menu_link_content/src/Hook/MenuLinkContentHooks.php Helper function to update plugin definition using internal scheme.
MenuLinkContentHooks::__construct function core/modules/menu_link_content/src/Hook/MenuLinkContentHooks.php
MenuOperationsLinkTestHooks class core/modules/menu_link_content/tests/menu_operations_link_test/src/Hook/MenuOperationsLinkTestHooks.php Hook implementations for menu_operations_link_test.
MenuOperationsLinkTestHooks.php file core/modules/menu_link_content/tests/menu_operations_link_test/src/Hook/MenuOperationsLinkTestHooks.php
MenuOperationsLinkTestHooks::entityOperation function core/modules/menu_link_content/tests/menu_operations_link_test/src/Hook/MenuOperationsLinkTestHooks.php Implements hook_entity_operation().
MenuOperationsLinkTestHooks::entityOperationAlter function core/modules/menu_link_content/tests/menu_operations_link_test/src/Hook/MenuOperationsLinkTestHooks.php Implements hook_entity_operation_alter().
MenuRouterTest::doTestHookMenuIntegration function core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php Tests local tasks with route placeholders.
MenuTestHooks class core/modules/system/tests/modules/menu_test/src/Hook/MenuTestHooks.php Hook implementations for menu_test.
MenuTestHooks.php file core/modules/system/tests/modules/menu_test/src/Hook/MenuTestHooks.php
MenuTestHooks::menuLinksDiscoveredAlter function core/modules/system/tests/modules/menu_test/src/Hook/MenuTestHooks.php Implements hook_menu_links_discovered_alter().
MenuTestHooks::menuLocalTasksAlter function core/modules/system/tests/modules/menu_test/src/Hook/MenuTestHooks.php Implements hook_menu_local_tasks_alter().
MenuUiHooks class core/modules/menu_ui/src/Hook/MenuUiHooks.php Hook implementations for menu_ui.
MenuUiHooks.php file core/modules/menu_ui/src/Hook/MenuUiHooks.php
MenuUiHooks::blockViewSystemMenuBlockAlter function core/modules/menu_ui/src/Hook/MenuUiHooks.php Implements hook_block_view_BASE_BLOCK_ID_alter() for 'system_menu_block'.
MenuUiHooks::entityOperation function core/modules/menu_ui/src/Hook/MenuUiHooks.php Implements hook_entity_operation().
MenuUiHooks::entityTypeBuild function core/modules/menu_ui/src/Hook/MenuUiHooks.php Implements hook_entity_type_build().
MenuUiHooks::formNodeFormAlter function core/modules/menu_ui/src/Hook/MenuUiHooks.php Implements hook_form_BASE_FORM_ID_alter() for \Drupal\node\Form\NodeForm.
MenuUiHooks::formNodeFormSubmit function core/modules/menu_ui/src/Hook/MenuUiHooks.php Form submission handler for menu item field on the node form.
MenuUiHooks::formNodeTypeFormAlter function core/modules/menu_ui/src/Hook/MenuUiHooks.php Implements hook_form_FORM_ID_alter() for \Drupal\node\Form\NodeTypeForm.
MenuUiHooks::formNodeTypeFormBuilder function core/modules/menu_ui/src/Hook/MenuUiHooks.php Entity builder for the node type form with menu options.
MenuUiHooks::formNodeTypeFormValidate function core/modules/menu_ui/src/Hook/MenuUiHooks.php Validate handler for forms with menu options.
MenuUiHooks::getMenuLinkContentAccess function core/modules/menu_ui/src/Hook/MenuUiHooks.php Check if user is allowed to use the menu link subform.
MenuUiHooks::help function core/modules/menu_ui/src/Hook/MenuUiHooks.php Implements hook_help().
MenuUiHooks::menuDelete function core/modules/menu_ui/src/Hook/MenuUiHooks.php Implements hook_ENTITY_TYPE_delete().
MenuUiHooks::nodeBuilder function core/modules/menu_ui/src/Hook/MenuUiHooks.php Entity form builder to add the menu information to the node.
MenuUiHooks::systemBreadcrumbAlter function core/modules/menu_ui/src/Hook/MenuUiHooks.php Implements hook_system_breadcrumb_alter().
MenuUiHooks::theme function core/modules/menu_ui/src/Hook/MenuUiHooks.php Implements hook_theme().
MenuUiHooks::__construct function core/modules/menu_ui/src/Hook/MenuUiHooks.php
MenuUiThemeHooks class core/modules/menu_ui/src/Hook/MenuUiThemeHooks.php Hook implementations for menu_ui.
MenuUiThemeHooks.php file core/modules/menu_ui/src/Hook/MenuUiThemeHooks.php
MenuUiThemeHooks::preprocessBlock function core/modules/menu_ui/src/Hook/MenuUiThemeHooks.php Implements hook_preprocess_HOOK() for block templates.
MigrateDrupalHooks class core/modules/migrate_drupal/src/Hook/MigrateDrupalHooks.php Hook implementations for migrate_drupal.
MigrateDrupalHooks.php file core/modules/migrate_drupal/src/Hook/MigrateDrupalHooks.php
MigrateDrupalHooks::help function core/modules/migrate_drupal/src/Hook/MigrateDrupalHooks.php Implements hook_help().
MigrateDrupalHooks::migrationPluginsAlter function core/modules/migrate_drupal/src/Hook/MigrateDrupalHooks.php Implements hook_migration_plugins_alter().
MigrateDrupalUiHooks class core/modules/migrate_drupal_ui/src/Hook/MigrateDrupalUiHooks.php Hook implementations for migrate_drupal_ui.
MigrateDrupalUiHooks.php file core/modules/migrate_drupal_ui/src/Hook/MigrateDrupalUiHooks.php
MigrateDrupalUiHooks::help function core/modules/migrate_drupal_ui/src/Hook/MigrateDrupalUiHooks.php Implements hook_help().
MigrateHooks class core/modules/migrate/src/Hook/MigrateHooks.php Hook implementations for migrate.
MigrateHooks.php file core/modules/migrate/src/Hook/MigrateHooks.php
MigrateHooks::help function core/modules/migrate/src/Hook/MigrateHooks.php Implements hook_help().
MigratePrepareRowTestHooks class core/modules/migrate/tests/modules/migrate_prepare_row_test/src/Hook/MigratePrepareRowTestHooks.php Hook implementations for migrate_prepare_row_test.
MigratePrepareRowTestHooks.php file core/modules/migrate/tests/modules/migrate_prepare_row_test/src/Hook/MigratePrepareRowTestHooks.php
MigratePrepareRowTestHooks::migratePrepareRow function core/modules/migrate/tests/modules/migrate_prepare_row_test/src/Hook/MigratePrepareRowTestHooks.php Implements hook_migrate_prepare_row().
MigrateSkipAllRowsTestHooks class core/modules/migrate/tests/modules/migrate_skip_all_rows_test/src/Hook/MigrateSkipAllRowsTestHooks.php Hook implementations for migrate_skip_all_rows_test.
MigrateSkipAllRowsTestHooks.php file core/modules/migrate/tests/modules/migrate_skip_all_rows_test/src/Hook/MigrateSkipAllRowsTestHooks.php
MigrateSkipAllRowsTestHooks::migratePrepareRow function core/modules/migrate/tests/modules/migrate_skip_all_rows_test/src/Hook/MigrateSkipAllRowsTestHooks.php Implements hook_migrate_prepare_row().
ModuleHandler::$alterHookListeners property core/lib/Drupal/Core/Extension/ModuleHandler.php Lists of callbacks which implement an alter hook, keyed by hook name(s).

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