Search for hook_
Title | Object type | File name | Summary |
---|---|---|---|
entity_crud_hook_test_taxonomy_term_presave | function | core/ |
Implements hook_ENTITY_TYPE_presave() for taxonomy_term entities. |
entity_crud_hook_test_taxonomy_term_update | function | core/ |
Implements hook_ENTITY_TYPE_update() for taxonomy_term entities. |
entity_crud_hook_test_taxonomy_vocabulary_create | function | core/ |
Implements hook_ENTITY_TYPE_create() for taxonomy_vocabulary entities. |
entity_crud_hook_test_taxonomy_vocabulary_delete | function | core/ |
Implements hook_ENTITY_TYPE_delete() for taxonomy_vocabulary entities. |
entity_crud_hook_test_taxonomy_vocabulary_insert | function | core/ |
Implements hook_ENTITY_TYPE_insert() for taxonomy_vocabulary entities. |
entity_crud_hook_test_taxonomy_vocabulary_load | function | core/ |
Implements hook_ENTITY_TYPE_load() for taxonomy_vocabulary entities. |
entity_crud_hook_test_taxonomy_vocabulary_predelete | function | core/ |
Implements hook_ENTITY_TYPE_predelete() for taxonomy_vocabulary entities. |
entity_crud_hook_test_taxonomy_vocabulary_presave | function | core/ |
Implements hook_ENTITY_TYPE_presave() for taxonomy_vocabulary entities. |
entity_crud_hook_test_taxonomy_vocabulary_update | function | core/ |
Implements hook_ENTITY_TYPE_update() for taxonomy_vocabulary entities. |
entity_crud_hook_test_user_create | function | core/ |
Implements hook_ENTITY_TYPE_create() for user entities. |
entity_crud_hook_test_user_delete | function | core/ |
Implements hook_ENTITY_TYPE_delete() for user entities. |
entity_crud_hook_test_user_insert | function | core/ |
Implements hook_ENTITY_TYPE_insert() for user entities. |
entity_crud_hook_test_user_load | function | core/ |
Implements hook_ENTITY_TYPE_load() for user entities. |
entity_crud_hook_test_user_predelete | function | core/ |
Implements hook_ENTITY_TYPE_predelete() for user entities. |
entity_crud_hook_test_user_presave | function | core/ |
Implements hook_ENTITY_TYPE_presave() for user entities. |
entity_crud_hook_test_user_update | function | core/ |
Implements hook_ENTITY_TYPE_update() for user entities. |
EquivalentUpdateTest::testUpdateHooks | function | core/ |
Tests that update hooks are properly run. |
FileManagedTestBase::assertFileHookCalled | function | core/ |
Assert that a hook_file_* hook was called a certain number of times. |
FileManagedTestBase::assertFileHooksCalled | function | core/ |
Asserts that the specified file hooks were called only once. |
FileManagedUnitTestBase::assertFileHookCalled | function | core/ |
Assert that a hook_file_* hook was called a certain number of times. |
FileManagedUnitTestBase::assertFileHooksCalled | function | core/ |
Asserts that the specified file hooks were called only once. |
FilterHooksTest | class | core/ |
Tests hooks for text formats insert/update/disable. |
FilterHooksTest.php | file | core/ |
|
FilterHooksTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
FilterHooksTest::$modules | property | core/ |
Modules to install. |
FilterHooksTest::testFilterHooks | function | core/ |
Tests hooks on format management. |
GenericModuleTestBase::assertHookHelp | function | core/ |
Verifies hook_help() syntax. |
HelpEmptyPageTest::testEmptyHookHelp | function | core/ |
Ensures that no URL generator is called on a page without hook_help(). |
Hook.php | file | core/ |
|
Hook::setMethod | function | core/ |
Set the method the hook should apply to. |
Hook::__construct | function | core/ |
Constructs a Hook attribute object. |
HookDiscovery | class | core/ |
Provides a hook-based plugin discovery class. |
HookDiscovery.php | file | core/ |
|
HookDiscovery::$hook | property | core/ |
The name of the hook that will be implemented by this discovery instance. |
HookDiscovery::$moduleHandler | property | core/ |
The module handler used to find and execute the plugin hook. |
HookDiscovery::getDefinitions | function | core/ |
Gets the definition of all plugins for this type. |
HookDiscovery::__construct | function | core/ |
Constructs a Drupal\Core\Plugin\Discovery\HookDiscovery object. |
HookDiscoveryTest | class | core/ |
@coversDefaultClass \Drupal\Core\Plugin\Discovery\HookDiscovery[[api-linebreak]] @group Plugin |
HookDiscoveryTest.php | file | core/ |
|
HookDiscoveryTest::$hookDiscovery | property | core/ |
The tested hook discovery. |
HookDiscoveryTest::$moduleHandler | property | core/ |
The mocked module handler. |
HookDiscoveryTest::hookDiscoveryTest2TestPlugin | function | core/ |
|
HookDiscoveryTest::hookDiscoveryTestTestPlugin | function | core/ |
|
HookDiscoveryTest::setUp | function | core/ |
|
HookDiscoveryTest::testGetDefinition | function | core/ |
Tests the getDefinition method with some plugins. |
HookDiscoveryTest::testGetDefinitions | function | core/ |
Tests the getDefinitions() method with some plugins. |
HookDiscoveryTest::testGetDefinitionsWithoutPlugins | function | core/ |
Tests the getDefinitions() method without any plugins. |
HookDiscoveryTest::testGetDefinitionWithUnknownID | function | core/ |
Tests the getDefinition method with an unknown plugin ID. |
HookHelpSection | class | core/ |
Provides the module topics list section for the help page. |
HookHelpSection.php | file | core/ |
Pagination
- Previous page
- Page 3
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.