Search for hook

  1. Search 7.x for hook
  2. Search 8.9.x for hook
  3. Search 10.3.x for hook
  4. Search 11.x for hook
  5. Other projects
Title Object type File name Summary
entity_crud_hook_test_taxonomy_term_predelete function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_predelete() for taxonomy_term entities.
entity_crud_hook_test_taxonomy_term_presave function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_presave() for taxonomy_term entities.
entity_crud_hook_test_taxonomy_term_update function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_update() for taxonomy_term entities.
entity_crud_hook_test_taxonomy_vocabulary_create function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_create() for taxonomy_vocabulary entities.
entity_crud_hook_test_taxonomy_vocabulary_delete function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_delete() for taxonomy_vocabulary entities.
entity_crud_hook_test_taxonomy_vocabulary_insert function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_insert() for taxonomy_vocabulary entities.
entity_crud_hook_test_taxonomy_vocabulary_load function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_load() for taxonomy_vocabulary entities.
entity_crud_hook_test_taxonomy_vocabulary_predelete function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_predelete() for taxonomy_vocabulary entities.
entity_crud_hook_test_taxonomy_vocabulary_presave function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_presave() for taxonomy_vocabulary entities.
entity_crud_hook_test_taxonomy_vocabulary_update function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_update() for taxonomy_vocabulary entities.
entity_crud_hook_test_user_create function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_create() for user entities.
entity_crud_hook_test_user_delete function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_delete() for user entities.
entity_crud_hook_test_user_insert function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_insert() for user entities.
entity_crud_hook_test_user_load function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_load() for user entities.
entity_crud_hook_test_user_predelete function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_predelete() for user entities.
entity_crud_hook_test_user_presave function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_presave() for user entities.
entity_crud_hook_test_user_update function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_update() for user entities.
FileManagedTestBase::assertFileHookCalled function core/modules/file/tests/src/Functional/FileManagedTestBase.php Assert that a hook_file_* hook was called a certain number of times.
FileManagedTestBase::assertFileHooksCalled function core/modules/file/tests/src/Functional/FileManagedTestBase.php Asserts that the specified file hooks were called only once.
FileManagedUnitTestBase::assertFileHookCalled function core/modules/file/tests/src/Kernel/FileManagedUnitTestBase.php Assert that a hook_file_* hook was called a certain number of times.
FileManagedUnitTestBase::assertFileHooksCalled function core/modules/file/tests/src/Kernel/FileManagedUnitTestBase.php Asserts that the specified file hooks were called only once.
FilterHooksTest class core/modules/filter/tests/src/Functional/FilterHooksTest.php Tests hooks for text formats insert/update/disable.
FilterHooksTest.php file core/modules/filter/tests/src/Functional/FilterHooksTest.php
FilterHooksTest::$defaultTheme property core/modules/filter/tests/src/Functional/FilterHooksTest.php
FilterHooksTest::$modules property core/modules/filter/tests/src/Functional/FilterHooksTest.php Modules to enable.
FilterHooksTest::testFilterHooks function core/modules/filter/tests/src/Functional/FilterHooksTest.php Tests hooks on format management.
HelpEmptyPageTest::testEmptyHookHelp function core/modules/help/tests/src/Kernel/HelpEmptyPageTest.php Ensures that no URL generator is called on a page without hook_help().
HookDiscovery class core/lib/Drupal/Core/Plugin/Discovery/HookDiscovery.php Provides a hook-based plugin discovery class.
HookDiscovery.php file core/lib/Drupal/Core/Plugin/Discovery/HookDiscovery.php
HookDiscovery::$hook property core/lib/Drupal/Core/Plugin/Discovery/HookDiscovery.php The name of the hook that will be implemented by this discovery instance.
HookDiscovery::$moduleHandler property core/lib/Drupal/Core/Plugin/Discovery/HookDiscovery.php The module handler used to find and execute the plugin hook.
HookDiscovery::getDefinitions function core/lib/Drupal/Core/Plugin/Discovery/HookDiscovery.php
HookDiscovery::__construct function core/lib/Drupal/Core/Plugin/Discovery/HookDiscovery.php Constructs a Drupal\Core\Plugin\Discovery\HookDiscovery object.
HookDiscoveryTest class core/tests/Drupal/Tests/Core/Plugin/Discovery/HookDiscoveryTest.php @coversDefaultClass \Drupal\Core\Plugin\Discovery\HookDiscovery[[api-linebreak]]
@group Plugin
HookDiscoveryTest.php file core/tests/Drupal/Tests/Core/Plugin/Discovery/HookDiscoveryTest.php
HookDiscoveryTest::$hookDiscovery property core/tests/Drupal/Tests/Core/Plugin/Discovery/HookDiscoveryTest.php The tested hook discovery.
HookDiscoveryTest::$moduleHandler property core/tests/Drupal/Tests/Core/Plugin/Discovery/HookDiscoveryTest.php The mocked module handler.
HookDiscoveryTest::hookDiscoveryTest2TestPlugin function core/tests/Drupal/Tests/Core/Plugin/Discovery/HookDiscoveryTest.php
HookDiscoveryTest::hookDiscoveryTestTestPlugin function core/tests/Drupal/Tests/Core/Plugin/Discovery/HookDiscoveryTest.php
HookDiscoveryTest::setUp function core/tests/Drupal/Tests/Core/Plugin/Discovery/HookDiscoveryTest.php
HookDiscoveryTest::testGetDefinition function core/tests/Drupal/Tests/Core/Plugin/Discovery/HookDiscoveryTest.php Tests the getDefinition method with some plugins.
HookDiscoveryTest::testGetDefinitions function core/tests/Drupal/Tests/Core/Plugin/Discovery/HookDiscoveryTest.php Tests the getDefinitions() method with some plugins.
HookDiscoveryTest::testGetDefinitionsWithoutPlugins function core/tests/Drupal/Tests/Core/Plugin/Discovery/HookDiscoveryTest.php Tests the getDefinitions() method without any plugins.
HookDiscoveryTest::testGetDefinitionWithUnknownID function core/tests/Drupal/Tests/Core/Plugin/Discovery/HookDiscoveryTest.php Tests the getDefinition method with an unknown plugin ID.
HookHelpSection class core/modules/help/src/Plugin/HelpSection/HookHelpSection.php Provides the module topics list section for the help page.
HookHelpSection.php file core/modules/help/src/Plugin/HelpSection/HookHelpSection.php
HookHelpSection::$moduleHandler property core/modules/help/src/Plugin/HelpSection/HookHelpSection.php The module handler.
HookHelpSection::create function core/modules/help/src/Plugin/HelpSection/HookHelpSection.php
HookHelpSection::listTopics function core/modules/help/src/Plugin/HelpSection/HookHelpSection.php
HookHelpSection::__construct function core/modules/help/src/Plugin/HelpSection/HookHelpSection.php Constructs a HookHelpSection object.

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