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_
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| HookCollectorPass::collectAllHookImplementations | function | core/ |
Collects all hook implementations. |
| HookCollectorPass::collectIncludesPerHook | function | core/ |
Collects include files by hook name. |
| HookCollectorPass::collectModuleHookImplementations | function | core/ |
Collects procedural and Attribute hook implementations. |
| HookCollectorPass::filterIterator | function | core/ |
Filter iterator callback. Allows include files and .php files in src/Hook. |
| HookCollectorPass::getAttributeInstances | function | core/ |
Get attribute instances from class and method reflections. |
| HookCollectorPass::getFilteredImplementations | function | core/ |
Gets implementation lists with removals already applied. |
| HookCollectorPass::getModuleListPattern | function | core/ |
Get a pattern used to match hooks for the given module list. |
| HookCollectorPass::getOrderOperations | function | core/ |
Gets order operations by hook. |
| HookCollectorPass::loadAllIncludes | function | core/ |
This method is only to be used by ModuleHandler. |
| HookCollectorPass::process | function | core/ |
|
| HookCollectorPass::registerHookServices | function | core/ |
Registers the hook implementation services. |
| HookCollectorPass::writeToContainer | function | core/ |
Writes collected definitions to the container builder. |
| HookCollectorPass::__construct | function | core/ |
Constructor. |
| HookCollectorPassTest | class | core/ |
Tests services in .module files. |
| HookCollectorPassTest | class | core/ |
Tests Drupal\Core\Hook\HookCollectorPass. |
| HookCollectorPassTest | class | core/ |
Tests Drupal\Core\Hook\HookCollectorPass. |
| HookCollectorPassTest.php | file | core/ |
|
| HookCollectorPassTest.php | file | core/ |
|
| HookCollectorPassTest.php | file | core/ |
|
| HookCollectorPassTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| HookCollectorPassTest::$modules | property | core/ |
Modules to install. |
| HookCollectorPassTest::assertRegisteredHooks | function | core/ |
Asserts that given hook implementations are registered in the container. |
| HookCollectorPassTest::setUpFilesystem | function | core/ |
VFS does not and can not support symlinks. |
| HookCollectorPassTest::testCollectAllHookImplementations | function | core/ |
Tests collect all hook implementations. |
| HookCollectorPassTest::testContainerOutsideFunction | function | core/ |
Tests installing a module with a Drupal container call outside functions. |
| HookCollectorPassTest::testGroupIncludes | function | core/ |
Tests group includes. |
| HookCollectorPassTest::testHookAfter | function | core/ |
Tests hook ordering with attributes. |
| HookCollectorPassTest::testHookAfterClassMethod | function | core/ |
Tests hook ordering with attributes. |
| HookCollectorPassTest::testHookBefore | function | core/ |
Tests hook ordering with attributes. |
| 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::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. |
| 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/ |
Tests Drupal\Core\Plugin\Discovery\HookDiscovery. |
| HookDiscoveryTest.php | file | core/ |
|
| HookDiscoveryTest::$hookDiscovery | property | core/ |
The tested hook discovery. |
Pagination
- Previous page
- Page 22
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.