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
TextWithSummaryFileUsageTest::testEditorEntityHooks function core/modules/editor/tests/src/Kernel/TextWithSummaryFileUsageTest.php Tests the configurable text editor manager.
theme-test-deprecations-hook-theme.html.twig file core/modules/system/tests/modules/theme_test/templates/theme-test-deprecations-hook-theme.html.twig {# Test variables deprecated in hook_theme(). #}
{{ foo }}
ThemeHook.php file core/modules/system/src/Hook/ThemeHook.php
ThemeHook::theme function core/modules/system/src/Hook/ThemeHook.php Implements hook_theme().
ThemeHookCollectorPass class core/lib/Drupal/Core/Hook/ThemeHookCollectorPass.php Collects and registers hook implementations.
ThemeHookCollectorPass.php file core/lib/Drupal/Core/Hook/ThemeHookCollectorPass.php
ThemeHookCollectorPass::$oopImplementations property core/lib/Drupal/Core/Hook/ThemeHookCollectorPass.php OOP implementation theme names keyed by hook name and "$class::$method".
ThemeHookCollectorPass::$preprocessForSuggestions property core/lib/Drupal/Core/Hook/ThemeHookCollectorPass.php Preprocess suggestions discovered in extensions.
ThemeHookCollectorPass::$proceduralImplementations property core/lib/Drupal/Core/Hook/ThemeHookCollectorPass.php Procedural implementation extension names by hook name.
ThemeHookCollectorPass::calculateImplementations function core/lib/Drupal/Core/Hook/ThemeHookCollectorPass.php Calculates the ordered implementations.
ThemeHookCollectorPass::checkInvalidHookParametersInThemes function core/lib/Drupal/Core/Hook/ThemeHookCollectorPass.php Checks for hooks which can't be supported in theme classes.
ThemeHookCollectorPass::collectAllHookImplementations function core/lib/Drupal/Core/Hook/ThemeHookCollectorPass.php Collects all hook implementations.
ThemeHookCollectorPass::collectThemeHookImplementations function core/lib/Drupal/Core/Hook/ThemeHookCollectorPass.php Collects procedural and Attribute hook implementations.
ThemeHookCollectorPass::filterIterator function core/lib/Drupal/Core/Hook/ThemeHookCollectorPass.php Filter iterator callback. Allows include files and .php files in src/Hook.
ThemeHookCollectorPass::getAttributeInstances function core/lib/Drupal/Core/Hook/ThemeHookCollectorPass.php Get attribute instances from class and method reflections.
ThemeHookCollectorPass::getFilteredImplementations function core/lib/Drupal/Core/Hook/ThemeHookCollectorPass.php Gets implementation lists with removals already applied.
ThemeHookCollectorPass::getThemeListPattern function core/lib/Drupal/Core/Hook/ThemeHookCollectorPass.php Get a pattern used to match hooks for the given theme list.
ThemeHookCollectorPass::process function core/lib/Drupal/Core/Hook/ThemeHookCollectorPass.php
ThemeHookCollectorPass::registerHookServices function core/lib/Drupal/Core/Hook/ThemeHookCollectorPass.php Registers the hook implementation services.
ThemeHookCollectorPass::sortByTheme function core/lib/Drupal/Core/Hook/ThemeHookCollectorPass.php Sort by theme.
ThemeHookCollectorPass::writeToContainer function core/lib/Drupal/Core/Hook/ThemeHookCollectorPass.php Writes collected definitions to the container builder.
ThemeHookCollectorPass::__construct function core/lib/Drupal/Core/Hook/ThemeHookCollectorPass.php Constructor.
ThemeHookCollectorPassTest class core/tests/Drupal/KernelTests/Core/Hook/ThemeHookCollectorPassTest.php Tests Drupal\Core\Hook\ThemeHookCollectorPass.
ThemeHookCollectorPassTest.php file core/tests/Drupal/KernelTests/Core/Hook/ThemeHookCollectorPassTest.php
ThemeHookCollectorPassTest::testCollection function core/tests/Drupal/KernelTests/Core/Hook/ThemeHookCollectorPassTest.php Test collection.
ThemeHookCollectorPassTest::testExceptionModule function core/tests/Drupal/KernelTests/Core/Hook/ThemeHookCollectorPassTest.php Test exception with module parameter.
ThemeHookCollectorPassTest::testExceptionOrder function core/tests/Drupal/KernelTests/Core/Hook/ThemeHookCollectorPassTest.php Test exception with order parameter.
ThemeHookCollectorPassTest::testExceptionRemove function core/tests/Drupal/KernelTests/Core/Hook/ThemeHookCollectorPassTest.php Test exception with remove attribute.
ThemeHookCollectorPassTest::testExceptionReorder function core/tests/Drupal/KernelTests/Core/Hook/ThemeHookCollectorPassTest.php Test exception with reorder attribute.
ThemeHookCollectorPassTest::testHookExecution function core/tests/Drupal/KernelTests/Core/Hook/ThemeHookCollectorPassTest.php Tests hook execution in themes.
ThemeHooks class core/themes/admin/src/Hook/ThemeHooks.php Provides theme related hook implementations.
ThemeHooks.php file core/themes/admin/src/Hook/ThemeHooks.php
ThemeHooks::container function core/themes/admin/src/Hook/ThemeHooks.php Prerender callback for container elements.
ThemeHooks::cssAlter function core/themes/admin/src/Hook/ThemeHooks.php Implements hook_css_alter().
ThemeHooks::elementInfoAlter function core/themes/admin/src/Hook/ThemeHooks.php Implements hook_element_info_alter().
ThemeHooks::libraryInfoAlter function core/themes/admin/src/Hook/ThemeHooks.php Implements hook_library_info_alter().
ThemeHooks::managedFile function core/themes/admin/src/Hook/ThemeHooks.php Prerender callback for managed_file.
ThemeHooks::messagePlaceholder function core/themes/admin/src/Hook/ThemeHooks.php Prerender callback for status_messages placeholder.
ThemeHooks::operations function core/themes/admin/src/Hook/ThemeHooks.php Prerender callback for the Operations element.
ThemeHooks::pageAttachmentsAlter function core/themes/admin/src/Hook/ThemeHooks.php Implements hook_page_attachments_alter().
ThemeHooks::textFormat function core/themes/admin/src/Hook/ThemeHooks.php Prerender callback for text_format elements.
ThemeHooks::themeRegistryAlter function core/themes/admin/src/Hook/ThemeHooks.php Implements hook_theme_registry_alter().
ThemeHooks::trustedCallbacks function core/themes/admin/src/Hook/ThemeHooks.php Lists the trusted callbacks provided by the implementing class.
ThemeHooks::verticalTabs function core/themes/admin/src/Hook/ThemeHooks.php Prerender callback for Vertical Tabs element.
ThemeHooks::__construct function core/themes/admin/src/Hook/ThemeHooks.php Constructs the theme related hooks.
ThemeManager::$allHookImplementations property core/lib/Drupal/Core/Theme/ThemeManager.php Raw list of hook implementations by theme name.
ThemeManager::$themeHookImplementations property core/lib/Drupal/Core/Theme/ThemeManager.php Raw list of hook callables by theme and hook name.
ThemeManager::buildThemeHookSuggestions function core/lib/Drupal/Core/Theme/ThemeManager.php Builds theme hook suggestions for a theme hook with variables.
ThemePageTestHooks class core/modules/system/tests/modules/theme_page_test/src/Hook/ThemePageTestHooks.php Hook implementations for theme_page_test.
ThemePageTestHooks.php file core/modules/system/tests/modules/theme_page_test/src/Hook/ThemePageTestHooks.php

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