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
TestThemeSettingsHooks::submitForm function core/modules/system/tests/themes/test_theme_settings/src/Hook/TestThemeSettingsHooks.php Form submission handler for the theme settings form.
TestThemeThemeHooks class core/modules/system/tests/themes/test_theme_theme/src/Hook/TestThemeThemeHooks.php Hook implementations for test_theme_theme.
TestThemeThemeHooks.php file core/modules/system/tests/themes/test_theme_theme/src/Hook/TestThemeThemeHooks.php
TestThemeThemeHooks::formSystemThemeSettingsAlter function core/modules/system/tests/themes/test_theme_theme/src/Hook/TestThemeThemeHooks.php Implements hook_form_system_theme_settings_alter().
TestThemeThemeHooks::themeSettingsSubmit function core/modules/system/tests/themes/test_theme_theme/src/Hook/TestThemeThemeHooks.php Test theme form settings submission handler.
TestThemeThemeHooks::__construct function core/modules/system/tests/themes/test_theme_theme/src/Hook/TestThemeThemeHooks.php
TextHooks class core/modules/text/src/Hook/TextHooks.php Hook implementations for text.
TextHooks.php file core/modules/text/src/Hook/TextHooks.php
TextHooks::fieldTypeCategoryInfoAlter function core/modules/text/src/Hook/TextHooks.php Implements hook_field_type_category_info_alter().
TextHooks::help function core/modules/text/src/Hook/TextHooks.php Implements hook_help().
TextSummaryTestHooks class core/modules/text/tests/modules/text_summary_test/src/Hook/TextSummaryTestHooks.php Hook implementations for text_summary_test.
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::__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.
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 }}
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::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::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 class core/themes/default_admin/src/Hook/ThemeHooks.php Provides theme related hook implementations.
ThemeHooks.php file core/themes/admin/src/Hook/ThemeHooks.php
ThemeHooks.php file core/themes/default_admin/src/Hook/ThemeHooks.php
ThemeHooks::container function core/themes/admin/src/Hook/ThemeHooks.php Prerender callback for container elements.
ThemeHooks::container function core/themes/default_admin/src/Hook/ThemeHooks.php Prerender callback for container elements.

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