Search for hook_
- Search 7.x for hook_
- Search 9.5.x for hook_
- Search 8.9.x for hook_
- Search 10.3.x for hook_
- Search main for hook_
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| HookCollectorPassTest::testHookAfter | function | core/ |
Tests hook ordering with attributes. |
| HookCollectorPassTest::testHookAfterClassMethod | function | core/ |
Tests hook ordering with attributes. |
| HookCollectorPassTest::testHookAttribute | function | core/ |
Test Hook attribute with named arguments, and class with invoke method. |
| HookCollectorPassTest::testHookBefore | function | core/ |
Tests hook ordering with attributes. |
| HookCollectorPassTest::testHookDependsOn | function | core/ |
Tests hook dependencies. |
| HookCollectorPassTest::testHookFirst | function | core/ |
Tests hook ordering with attributes. |
| HookCollectorPassTest::testHookIgnoreNonOop | function | core/ |
Tests that legacy install/update hooks are ignored. |
| HookCollectorPassTest::testHookLast | function | core/ |
Tests hook ordering with attributes. |
| HookCollectorPassTest::testHookOrderExtraTypes | function | core/ |
Tests hook ordering with attributes. |
| HookCollectorPassTest::testHookOverride | function | core/ |
Tests hook override. |
| HookCollectorPassTest::testHookRemove | function | core/ |
Tests hook remove. |
| HookCollectorPassTest::testHooksImplementedOnBehalfFileCache | function | core/ |
Test hooks implemented on behalf of an uninstalled module. |
| HookCollectorPassTest::testIgnoreDirectories | function | core/ |
Tests ignoring of directories when collecting hooks using the file_scan_ignore_directories setting. |
| HookCollectorPassTest::testLegacyModuleImplementsAlter | function | core/ |
Test LegacyModuleImplementsAlter. |
| HookCollectorPassTest::testOrdering | function | core/ |
Test that ordering works. |
| HookCollectorPassTest::testPrefixOwnership | function | core/ |
Tests prefix ownership of procedural hooks. |
| HookCollectorPassTest::testProceduralHooksSkippedWhenConfigured | function | core/ |
Test procedural hooks for a module are skipped when skip is set. |
| HookCollectorPassTest::testSymlink | function | core/ |
Test that symlinks are properly followed. |
| HookDependsOnModule | class | core/ |
Makes hook registration dependent on a module being installed. |
| HookDependsOnModule.php | file | core/ |
|
| HookDependsOnModule::__construct | function | core/ |
Constructs HookDependsOnModule 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/ |
|
| HookDiscovery::__construct | function | core/ |
Constructs a Drupal\Core\Plugin\Discovery\HookDiscovery object. |
| HookDiscoveryTest | class | core/ |
Tests Drupal\Core\Plugin\Discovery\HookDiscovery. |
| 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::listTopics | function | core/ |
|
| HookHelpSection::__construct | function | core/ |
Constructs a HookHelpSection object. |
| HookLoaderTest | class | core/ |
Test hook loading. |
| HookLoaderTest.php | file | core/ |
|
| HookLoaderTest::$modules | property | core/ |
|
| HookLoaderTest::testHookOrder | function | core/ |
Test hook implementation order. |
| HookOrderTest | class | core/ |
Tests Hook Order. |
| HookOrderTest.php | file | core/ |
|
| HookOrderTest::$modules | property | core/ |
Pagination
- Previous page
- Page 27
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.