Search for hook_
- Search 7.x for hook_
- Search 8.9.x for hook_
- Search 10.3.x for hook_
- Search 11.x for hook_
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| 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. |
| 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 enable. |
| FilterHooksTest::testFilterHooks | function | core/ |
Tests hooks on format management. |
| HelpEmptyPageTest::testEmptyHookHelp | function | core/ |
Ensures that no URL generator is called on a page without hook_help(). |
| 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/ |
|
| HookHelpSection::$moduleHandler | property | core/ |
The module handler. |
| HookHelpSection::create | function | core/ |
Creates an instance of the plugin. |
| HookHelpSection::listTopics | function | core/ |
Returns a list of topics to show in the help section. |
| HookHelpSection::__construct | function | core/ |
Constructs a HookHelpSection object. |
| HookRequirementsTest | class | core/ |
Attempts enabling a module that fails hook_requirements('install'). |
| HookRequirementsTest.php | file | core/ |
|
| HookRequirementsTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| HookRequirementsTest::testHookRequirementsFailure | function | core/ |
Assert that a module cannot be installed if it fails hook_requirements(). |
| Hooks | group | core/ |
Define functions that alter the behavior of Drupal core. |
| hook_aggregator_fetcher_info_alter | function | core/ |
Perform alterations on the available fetchers. |
| hook_aggregator_parser_info_alter | function | core/ |
Perform alterations on the available parsers. |
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.