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. Other projects
Title Object type File name Summary
ToolbarHookToolbarTest::setUp function core/modules/toolbar/tests/src/Functional/ToolbarHookToolbarTest.php
ToolbarHookToolbarTest::testHookToolbar function core/modules/toolbar/tests/src/Functional/ToolbarHookToolbarTest.php Tests for a tab and tray provided by a module implementing hook_toolbar().
ToolbarTestHooks class core/modules/toolbar/tests/modules/toolbar_test/src/Hook/ToolbarTestHooks.php Hook implementations for toolbar_test.
ToolbarTestHooks.php file core/modules/toolbar/tests/modules/toolbar_test/src/Hook/ToolbarTestHooks.php
ToolbarTestHooks::toolbar function core/modules/toolbar/tests/modules/toolbar_test/src/Hook/ToolbarTestHooks.php Implements hook_toolbar().
ToolbarTestThemeHooks class core/modules/toolbar/tests/modules/toolbar_test/src/Hook/ToolbarTestThemeHooks.php Hook implementations for toolbar_test.
ToolbarTestThemeHooks.php file core/modules/toolbar/tests/modules/toolbar_test/src/Hook/ToolbarTestThemeHooks.php
ToolbarTestThemeHooks::preprocessMenu function core/modules/toolbar/tests/modules/toolbar_test/src/Hook/ToolbarTestThemeHooks.php Implements hook_preprocess_HOOK().
ToolbarThemeHooks class core/modules/toolbar/src/Hook/ToolbarThemeHooks.php Hook implementations for toolbar.
ToolbarThemeHooks.php file core/modules/toolbar/src/Hook/ToolbarThemeHooks.php
ToolbarThemeHooks::preprocessHtml function core/modules/toolbar/src/Hook/ToolbarThemeHooks.php Implements hook_preprocess_HOOK() for HTML document templates.
ToolbarThemeHooks::preprocessToolbar function core/modules/toolbar/src/Hook/ToolbarThemeHooks.php Prepares variables for administration toolbar templates.
ToolbarThemeHooks::theme function core/modules/toolbar/src/Hook/ToolbarThemeHooks.php Implements hook_theme().
ToolbarThemeHooks::__construct function core/modules/toolbar/src/Hook/ToolbarThemeHooks.php
TwigDeprecationsTest::testHookThemeDeprecations function core/tests/Drupal/KernelTests/Core/Theme/TwigDeprecationsTest.php Test deprecating variables at definition in hook_theme().
TwigExtensionTestHooks class core/modules/system/tests/modules/twig_extension_test/src/Hook/TwigExtensionTestHooks.php Hook implementations for twig_extension_test.
TwigExtensionTestHooks.php file core/modules/system/tests/modules/twig_extension_test/src/Hook/TwigExtensionTestHooks.php
TwigExtensionTestHooks::theme function core/modules/system/tests/modules/twig_extension_test/src/Hook/TwigExtensionTestHooks.php Implements hook_theme().
TwigThemeTestHooks class core/modules/system/tests/modules/twig_theme_test/src/Hook/TwigThemeTestHooks.php Hook implementations for twig_theme_test.
TwigThemeTestHooks.php file core/modules/system/tests/modules/twig_theme_test/src/Hook/TwigThemeTestHooks.php
TwigThemeTestHooks::preprocessStatusMessages function core/modules/system/tests/modules/twig_theme_test/src/Hook/TwigThemeTestHooks.php Implements hook_preprocess_HOOK().
TwigThemeTestHooks::theme function core/modules/system/tests/modules/twig_theme_test/src/Hook/TwigThemeTestHooks.php Implements hook_theme().
UniqueFieldConstraintTestHooks class core/modules/system/tests/modules/unique_field_constraint_test/src/Hook/UniqueFieldConstraintTestHooks.php Hook implementations for unique_field_constraint_test.
UniqueFieldConstraintTestHooks.php file core/modules/system/tests/modules/unique_field_constraint_test/src/Hook/UniqueFieldConstraintTestHooks.php
UniqueFieldConstraintTestHooks::entityBaseFieldInfoAlter function core/modules/system/tests/modules/unique_field_constraint_test/src/Hook/UniqueFieldConstraintTestHooks.php Implements hook_entity_base_field_info_alter().
UniqueFieldConstraintTestHooks::queryEntityTestAccessAlter function core/modules/system/tests/modules/unique_field_constraint_test/src/Hook/UniqueFieldConstraintTestHooks.php Implements hook_query_entity_test_access_alter().
UnversionedAssetsTestHooks class core/modules/system/tests/modules/unversioned_assets_test/src/Hook/UnversionedAssetsTestHooks.php Hook implementations for unversioned_assets_test.
UnversionedAssetsTestHooks.php file core/modules/system/tests/modules/unversioned_assets_test/src/Hook/UnversionedAssetsTestHooks.php
UnversionedAssetsTestHooks::libraryInfoAlter function core/modules/system/tests/modules/unversioned_assets_test/src/Hook/UnversionedAssetsTestHooks.php Implements hook_library_info_alter().
update.update_hook_registry service core/core.services.yml Drupal\Core\Update\UpdateHookRegistry
UpdateContribTest::testHookUpdateStatusAlter function core/modules/update/tests/src/Functional/UpdateContribTest.php Checks that hook_update_status_alter() works to change a status.
UpdateHookRegistry class core/lib/Drupal/Core/Update/UpdateHookRegistry.php Provides module updates versions handling.
UpdateHookRegistry.php file core/lib/Drupal/Core/Update/UpdateHookRegistry.php
UpdateHookRegistry::$allAvailableSchemaVersions property core/lib/Drupal/Core/Update/UpdateHookRegistry.php A static cache of schema currentVersions per module.
UpdateHookRegistry::$enabledModules property core/lib/Drupal/Core/Update/UpdateHookRegistry.php A list of enabled modules.
UpdateHookRegistry::$equivalentUpdates property core/lib/Drupal/Core/Update/UpdateHookRegistry.php The core.equivalent_updates key value storage.
UpdateHookRegistry::$keyValue property core/lib/Drupal/Core/Update/UpdateHookRegistry.php The system.schema key value storage.
UpdateHookRegistry::deleteEquivalentUpdate function core/lib/Drupal/Core/Update/UpdateHookRegistry.php Removes an equivalent update.
UpdateHookRegistry::deleteInstalledVersion function core/lib/Drupal/Core/Update/UpdateHookRegistry.php Deletes the installed version information for the module.
UpdateHookRegistry::determineModuleAndVersion function core/lib/Drupal/Core/Update/UpdateHookRegistry.php Determines the module and update number from the stack trace.
UpdateHookRegistry::FUNC_NAME_REGEXP constant core/lib/Drupal/Core/Update/UpdateHookRegistry.php Regular expression to match all possible defined hook_update_N().
UpdateHookRegistry::getAllEquivalentUpdates function core/lib/Drupal/Core/Update/UpdateHookRegistry.php Returns the equivalent update information for all modules.
UpdateHookRegistry::getAllInstalledVersions function core/lib/Drupal/Core/Update/UpdateHookRegistry.php Returns the currently installed schema version for all modules.
UpdateHookRegistry::getAvailableUpdates function core/lib/Drupal/Core/Update/UpdateHookRegistry.php Returns an array of available schema versions for a module.
UpdateHookRegistry::getEquivalentUpdate function core/lib/Drupal/Core/Update/UpdateHookRegistry.php Gets the EquivalentUpdate object for an update.
UpdateHookRegistry::getInstalledVersion function core/lib/Drupal/Core/Update/UpdateHookRegistry.php Returns the currently installed schema version for a module.
UpdateHookRegistry::markFutureUpdateEquivalent function core/lib/Drupal/Core/Update/UpdateHookRegistry.php Marks a future update as equivalent to the current update running.
UpdateHookRegistry::SCHEMA_UNINSTALLED constant core/lib/Drupal/Core/Update/UpdateHookRegistry.php Indicates that a module has not been installed yet.
UpdateHookRegistry::setInstalledVersion function core/lib/Drupal/Core/Update/UpdateHookRegistry.php Updates the installed version information for a module.
UpdateHookRegistry::__construct function core/lib/Drupal/Core/Update/UpdateHookRegistry.php Constructs a new UpdateHookRegistry.

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