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
TextSummaryTestHooks class core/modules/text_with_summary/tests/modules/text_summary_test/src/Hook/TextSummaryTestHooks.php Hook implementations for text_summary_test.
TextSummaryTestHooks.php file core/modules/text_with_summary/tests/modules/text_summary_test/src/Hook/TextSummaryTestHooks.php
TextSummaryTestHooks.php file core/modules/text/tests/modules/text_summary_test/src/Hook/TextSummaryTestHooks.php
TextSummaryTestHooks::pageAttachmentsAlter function core/modules/text/tests/modules/text_summary_test/src/Hook/TextSummaryTestHooks.php Implements hook_page_attachments_alter().
TextSummaryTestHooks::pageAttachmentsAlter function core/modules/text_with_summary/tests/modules/text_summary_test/src/Hook/TextSummaryTestHooks.php Implements hook_page_attachments_alter().
TextSummaryTestHooks::__construct function core/modules/text_with_summary/tests/modules/text_summary_test/src/Hook/TextSummaryTestHooks.php
TextSummaryTestHooks::__construct function core/modules/text/tests/modules/text_summary_test/src/Hook/TextSummaryTestHooks.php
TextTestHooks class core/modules/text/tests/modules/text_test/src/Hook/TextTestHooks.php Hook implementations for text_test.
TextTestHooks.php file core/modules/text/tests/modules/text_test/src/Hook/TextTestHooks.php
TextTestHooks::entityBundleFieldInfoAlter function core/modules/text/tests/modules/text_test/src/Hook/TextTestHooks.php Implements hook_entity_bundle_field_info_alter().
TextTestHooks::__construct function core/modules/text/tests/modules/text_test/src/Hook/TextTestHooks.php
TextWithSummaryFileUsageTest::testEditorEntityHooks function core/modules/editor/tests/src/Kernel/TextWithSummaryFileUsageTest.php Tests the configurable text editor manager.
TextWithSummaryFileUsageTest::testEditorEntityHooks function core/modules/text_with_summary/tests/src/Kernel/TextWithSummaryFileUsageTest.php Tests the configurable text editor manager.
TextWithSummaryHooks class core/modules/text_with_summary/src/Hook/TextWithSummaryHooks.php Hook implementations for text_with_summary.
TextWithSummaryHooks.php file core/modules/text_with_summary/src/Hook/TextWithSummaryHooks.php
TextWithSummaryHooks::fieldFormatterInfoAlter function core/modules/text_with_summary/src/Hook/TextWithSummaryHooks.php Implements hook_field_formatter_info_alter().
TextWithSummaryHooks::help function core/modules/text_with_summary/src/Hook/TextWithSummaryHooks.php Implements hook_help().
TextWithSummaryHooks::libraryInfoAlter function core/modules/text_with_summary/src/Hook/TextWithSummaryHooks.php Implements hook_library_info_alter().
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::$deprecatedThemeFiles property core/lib/Drupal/Core/Hook/ThemeHookCollectorPass.php Deprecated .theme files.
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.
ThemeHookCollectorPassTest::testIgnoreDirectories function core/tests/Drupal/KernelTests/Core/Hook/ThemeHookCollectorPassTest.php Tests ignoring of directories when collecting hooks using the file_scan_ignore_directories setting.
ThemeHooks class core/themes/default_admin/src/Hook/ThemeHooks.php Provides theme related hook implementations.

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