Search for all
| Title | Object type | File name | Summary |
|---|---|---|---|
| HookAlterOrderTest::$modules | property | core/ |
Modules to install. |
| HookAlterOrderTest::alter | function | core/ |
Invokes ModuleHandler->alter() and returns the altered array. |
| HookAlterOrderTest::assertAlterCallOrder | function | core/ |
Asserts the call order from an alter call. |
| HookAlterOrderTest::testAlterOrder | function | core/ |
Test ordering alter calls. |
| HookAlterOrderTest::testProceduralModuleImplementsAlterOrder | function | core/ |
Tests procedural implementations of module implements alter ordering. |
| HookAlterOrderTest::testReorderAlterMissingTarget | function | core/ |
Tests #[ReorderHook] attributes with missing target. |
| HookAlterOrderTest::testReorderCrossHookAlter | function | core/ |
Tests #[ReorderHook] targeting other hooks. |
| HookAttributeInterface | interface | core/ |
Common interface for attributes used for hook discovery. |
| HookAttributeInterface.php | file | core/ |
|
| HookAttributeInvokeHook | class | core/ |
Test Hook attribute named arguments. |
| HookAttributeInvokeHook.php | file | core/ |
|
| HookAttributeInvokeHook::__invoke | function | core/ |
Implements hook_cache_flush(). |
| HookAttributeNamedArgumentsHook | class | core/ |
Test Hook attribute named arguments. |
| HookAttributeNamedArgumentsHook.php | file | core/ |
|
| HookAttributeNamedArgumentsHook::flush | function | core/ |
Implements hook_cache_flush(). |
| HookCollectorKeyValueWritePass | class | core/ |
Stores hook implementations in keyvalue and clears cache. |
| HookCollectorKeyValueWritePass.php | file | core/ |
|
| HookCollectorKeyValueWritePass::process | function | core/ |
|
| HookCollectorPass | class | core/ |
Collects and registers hook implementations. |
| HookCollectorPass.php | file | core/ |
|
| HookCollectorPass::$groupIncludes | property | core/ |
Include files, keyed by the $group part of "/$module.$group.inc". |
| HookCollectorPass::$hookInfo | property | core/ |
A list of functions implementing hook_hook_info(). |
| HookCollectorPass::$includes | property | core/ |
A map of include files by function name. |
| HookCollectorPass::$moduleImplementsAlters | property | core/ |
A list of functions implementing hook_module_implements_alter(). |
| HookCollectorPass::$oopImplementations | property | core/ |
OOP implementation module names keyed by hook name and "$class::$method". |
| HookCollectorPass::$orderOperations | property | core/ |
Order operations grouped by hook name and weight. |
| HookCollectorPass::$preprocessForSuggestions | property | core/ |
Preprocess suggestions discovered in modules. |
| HookCollectorPass::$proceduralImplementations | property | core/ |
Procedural implementation module names by hook name. |
| HookCollectorPass::$removeHookIdentifiers | property | core/ |
Lists of implementation identifiers to remove, keyed by hook name. |
| HookCollectorPass::addProceduralImplementation | function | core/ |
Adds a procedural hook implementation. |
| HookCollectorPass::applyOrderOperations | function | core/ |
Applies order operations to a hook implementation list. |
| HookCollectorPass::calculateImplementations | function | core/ |
Calculates the ordered implementations. |
| HookCollectorPass::checkForProceduralOnlyHooks | function | core/ |
Checks for hooks which can't be supported in classes. |
| 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::hasAnyAttribute | function | core/ |
Returns whether the existing attributes match any of the expected ones. |
| 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 Drupal\Core\Hook\HookCollectorPass. |
| HookCollectorPassTest | class | core/ |
Tests Drupal\Core\Hook\HookCollectorPass. |
| HookCollectorPassTest | class | core/ |
Tests services in .module files. |
Pagination
- Previous page
- Page 821
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.