Search for collect
- Search 7.x for collect
- Search 9.5.x for collect
- Search 8.9.x for collect
- Search 10.3.x for collect
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| 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 services in .module files. |
| 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. |
Pagination
- Previous page
- Page 10
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.