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
DeprecatedModuleTestHooks class core/modules/system/tests/modules/deprecated_module_test/src/Hook/DeprecatedModuleTestHooks.php Hook implementations for deprecated_module_test.
DeprecatedModuleTestHooks.php file core/modules/system/tests/modules/deprecated_module_test/src/Hook/DeprecatedModuleTestHooks.php
DeprecatedModuleTestHooks::systemInfoAlter function core/modules/system/tests/modules/deprecated_module_test/src/Hook/DeprecatedModuleTestHooks.php Implements hook_system_info_alter().
DeprecatedTwigTemplateHooks class core/modules/system/tests/modules/deprecated_twig_template/src/Hook/DeprecatedTwigTemplateHooks.php Hook implementations for deprecated_twig_template.
DeprecatedTwigTemplateHooks.php file core/modules/system/tests/modules/deprecated_twig_template/src/Hook/DeprecatedTwigTemplateHooks.php
DeprecatedTwigTemplateHooks::theme function core/modules/system/tests/modules/deprecated_twig_template/src/Hook/DeprecatedTwigTemplateHooks.php Implements hook_theme().
DeprecationHookAttributeTestHooks class core/modules/system/tests/modules/deprecation_hook_attribute_test/src/Hook/DeprecationHookAttributeTestHooks.php Implements hooks for the deprecation hook attribute test.
DeprecationHookAttributeTestHooks.php file core/modules/system/tests/modules/deprecation_hook_attribute_test/src/Hook/DeprecationHookAttributeTestHooks.php
DeprecationHookAttributeTestHooks::deprecatedAlterAlterFirst function core/modules/system/tests/modules/deprecation_hook_attribute_test/src/Hook/DeprecationHookAttributeTestHooks.php Implements hook_deprecated_alter_alter().
DeprecationHookAttributeTestHooks::deprecatedHook function core/modules/system/tests/modules/deprecation_hook_attribute_test/src/Hook/DeprecationHookAttributeTestHooks.php Implements hook_deprecated_hook().
deprecation_hook_attribute_test.info.yml file core/modules/system/tests/modules/deprecation_hook_attribute_test/deprecation_hook_attribute_test.info.yml core/modules/system/tests/modules/deprecation_hook_attribute_test/deprecation_hook_attribute_test.info.yml
DHooks class core/modules/system/tests/modules/HookOrder/ddd_hook_order_test/src/Hook/DHooks.php Provides hook implementations for testing the execution order of hooks.
DHooks.php file core/modules/system/tests/modules/HookOrder/ddd_hook_order_test/src/Hook/DHooks.php
DHooks::sparseTestHook function core/modules/system/tests/modules/HookOrder/ddd_hook_order_test/src/Hook/DHooks.php Implements hook_test_hook().
DHooks::testHook function core/modules/system/tests/modules/HookOrder/ddd_hook_order_test/src/Hook/DHooks.php Implements hook_test_hook().
DynamicPageCacheHooks class core/modules/dynamic_page_cache/src/Hook/DynamicPageCacheHooks.php Hook implementations for dynamic_page_cache.
DynamicPageCacheHooks.php file core/modules/dynamic_page_cache/src/Hook/DynamicPageCacheHooks.php
DynamicPageCacheHooks::help function core/modules/dynamic_page_cache/src/Hook/DynamicPageCacheHooks.php Implements hook_help().
EditorFileUsageTest::testEditorEntityHooks function core/modules/editor/tests/src/Kernel/EditorFileUsageTest.php Tests the configurable text editor manager.
EditorHooks class core/modules/editor/src/Hook/EditorHooks.php Hook implementations for editor.
EditorHooks.php file core/modules/editor/src/Hook/EditorHooks.php
EditorHooks::deleteFileUsage function core/modules/editor/src/Hook/EditorHooks.php Deletes file usage of files referenced by formatted text fields.
EditorHooks::editorFormFilterAdminFormAjax function core/modules/editor/src/Hook/EditorHooks.php Ajax callback handler for 'filter_format_form' form.
EditorHooks::editorFormFilterAdminFormatEditorConfigure function core/modules/editor/src/Hook/EditorHooks.php Submit handler for 'editor_configure' button from 'filter_format_form'.
EditorHooks::editorFormFilterAdminFormatSubmit function core/modules/editor/src/Hook/EditorHooks.php Additional submit handler for 'filter_format_form' form.
EditorHooks::editorFormFilterAdminFormatValidate function core/modules/editor/src/Hook/EditorHooks.php Additional validate handler for 'filter_format_form' form.
EditorHooks::elementInfoAlter function core/modules/editor/src/Hook/EditorHooks.php Implements hook_element_info_alter().
EditorHooks::entityDelete function core/modules/editor/src/Hook/EditorHooks.php Implements hook_entity_delete().
EditorHooks::entityInsert function core/modules/editor/src/Hook/EditorHooks.php Implements hook_entity_insert().
EditorHooks::entityRevisionDelete function core/modules/editor/src/Hook/EditorHooks.php Implements hook_entity_revision_delete().
EditorHooks::entityUpdate function core/modules/editor/src/Hook/EditorHooks.php Implements hook_entity_update().
EditorHooks::fileDownload function core/modules/editor/src/Hook/EditorHooks.php Implements hook_file_download().
EditorHooks::filterFormatPresave function core/modules/editor/src/Hook/EditorHooks.php Implements hook_ENTITY_TYPE_presave().
EditorHooks::formFilterAdminOverviewAlter function core/modules/editor/src/Hook/EditorHooks.php Implements hook_form_FORM_ID_alter().
EditorHooks::formFilterFormatFormAlter function core/modules/editor/src/Hook/EditorHooks.php Implements hook_form_BASE_FORM_ID_alter() for \Drupal\filter\FilterFormatEditForm.
EditorHooks::getFileUuidsByField function core/modules/editor/src/Hook/EditorHooks.php Finds all files referenced (data-entity-uuid) by formatted text fields.
EditorHooks::getFormattedTextFields function core/modules/editor/src/Hook/EditorHooks.php Determines the formatted text fields on an entity.
EditorHooks::help function core/modules/editor/src/Hook/EditorHooks.php Implements hook_help().
EditorHooks::menuLinksDiscoveredAlter function core/modules/editor/src/Hook/EditorHooks.php Implements hook_menu_links_discovered_alter().
EditorHooks::parseFileUuids function core/modules/editor/src/Hook/EditorHooks.php Parse an HTML snippet for any linked file with data-entity-uuid attributes.
EditorHooks::recordFileUsage function core/modules/editor/src/Hook/EditorHooks.php Records file usage of files referenced by formatted text fields.
EditorTestHooks class core/modules/editor/tests/modules/editor_test/src/Hook/EditorTestHooks.php Hook implementations for editor_test.
EditorTestHooks.php file core/modules/editor/tests/modules/editor_test/src/Hook/EditorTestHooks.php
EditorTestHooks::editorInfoAlter function core/modules/editor/tests/modules/editor_test/src/Hook/EditorTestHooks.php Implements hook_editor_info_alter().
EditorTestHooks::editorJsSettingsAlter function core/modules/editor/tests/modules/editor_test/src/Hook/EditorTestHooks.php Implements hook_editor_js_settings_alter().
EditorTestHooks::editorXssFilterAlter function core/modules/editor/tests/modules/editor_test/src/Hook/EditorTestHooks.php Implements hook_editor_xss_filter_alter().
EditorTestHooks::entityUpdate function core/modules/editor/tests/modules/editor_test/src/Hook/EditorTestHooks.php Implements hook_entity_update().
EditorTestHooks::filePresave function core/modules/editor/tests/modules/editor_test/src/Hook/EditorTestHooks.php Implements hook_ENTITY_TYPE_presave() for file entities.
ElementInfoTestHooks class core/modules/system/tests/modules/element_info_test/src/Hook/ElementInfoTestHooks.php Hook implementations for element_info_test.
ElementInfoTestHooks.php file core/modules/system/tests/modules/element_info_test/src/Hook/ElementInfoTestHooks.php

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