Search for hook
Title | Object type | File name | Summary |
---|---|---|---|
MenuRouterTest::doTestHookMenuIntegration | function | core/ |
Tests local tasks with route placeholders. |
ModuleHandler::$hookInfo | property | core/ |
Information returned by hook_hook_info() implementations. |
ModuleHandler::buildHookInfo | function | core/ |
Builds hook_hook_info() information. |
ModuleHandler::getHookInfo | function | core/ |
Retrieves a list of hooks that are declared through hook_hook_info(). |
ModuleHandler::implementsHook | function | core/ |
Returns whether a given module implements a given hook. |
ModuleHandlerDeprecatedHookTest | class | core/ |
Test whether deprecated hook invocations trigger errors. |
ModuleHandlerDeprecatedHookTest.php | file | core/ |
|
ModuleHandlerDeprecatedHookTest::$modules | property | core/ |
Modules to enable. |
ModuleHandlerDeprecatedHookTest::testAlterDeprecated | function | core/ |
@covers ::alterDeprecated[[api-linebreak]] |
ModuleHandlerDeprecatedHookTest::testInvokeAllDeprecated | function | core/ |
@covers ::invokeAllDeprecated[[api-linebreak]] |
ModuleHandlerDeprecatedHookTest::testInvokeDeprecated | function | core/ |
@covers ::invokeDeprecated[[api-linebreak]] |
ModuleHandlerDeprecatedHookUnimplementedTest | class | core/ |
Test whether unimplemented deprecated hook invocations trigger errors. |
ModuleHandlerDeprecatedHookUnimplementedTest.php | file | core/ |
|
ModuleHandlerDeprecatedHookUnimplementedTest::testUnimplementedHooks | function | core/ |
@covers ::alterDeprecated[[api-linebreak]] @covers ::invokeAllDeprecated[[api-linebreak]] @covers ::invokeDeprecated[[api-linebreak]] |
ModuleHandlerInterface::getHookInfo | function | core/ |
Retrieves a list of hooks that are declared through hook_hook_info(). |
ModuleHandlerInterface::implementsHook | function | core/ |
Returns whether a given module implements a given hook. |
ModuleHandlerTest::testGetHookInfo | function | core/ |
Tests hook_hook_info() fetching through getHookInfo(). |
ModuleHandlerTest::testImplementsHook | function | core/ |
Tests deprecation of the ::implementsHook method. |
ModuleHandlerTest::testImplementsHookModuleEnabled | function | core/ |
Tests implementations methods when module is enabled. |
ModuleInstallerTest::testKernelRebuildDuringHookInstall | function | core/ |
Ensure that rebuilding the container in hook_install() works. |
ModuleTestController::hookDynamicLoadingInvoke | function | core/ |
Returns dynamically invoked hook results for the 'module_test' module. |
ModuleTestController::hookDynamicLoadingInvokeAll | function | core/ |
Returns dynamically invoked hook results for all modules. |
module_handler_test_added.hook.inc | file | core/ |
Include file for test module. |
module_handler_test_added_hook | function | core/ |
Test function. |
module_handler_test_all1_hook | function | core/ |
Returns an array to test nested merge in invoke all. |
module_handler_test_all2_hook | function | core/ |
Test function. |
module_handler_test_hook | function | core/ |
|
module_handler_test_hook_include | function | core/ |
Test hook. |
module_handler_test_hook_info | function | core/ |
Implements hook_hook_info(). |
module_handler_test_no_hook.info.yml | file | core/ |
core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_no_hook/module_handler_test_no_hook.info.yml |
module_test_altered_test_hook | function | core/ |
Implements hook_altered_test_hook(). |
module_test_hook_info | function | core/ |
Implements hook_hook_info(). |
module_test_test_hook | function | core/ |
Implements hook_test_hook(). |
NodeTemplateSuggestionsTest::testNodeThemeHookSuggestions | function | core/ |
Tests if template_preprocess_node() generates the correct suggestions. |
PageRenderTest::assertPageRenderHookExceptions | function | core/ |
Asserts whether expected exceptions are thrown for invalid hook implementations. |
PageRenderTest::testHookPageAlter | function | core/ |
Tests hook_page_attachments_alter() exceptions. |
PageRenderTest::testHookPageAttachmentsExceptions | function | core/ |
Tests hook_page_attachments() exceptions. |
PathHooksTest | class | core/ |
@coversDefaultClass \Drupal\path_alias\Entity\PathAlias[[api-linebreak]] |
PathHooksTest.php | file | core/ |
|
PathHooksTest::$modules | property | core/ |
Modules to enable. |
PathHooksTest::setUp | function | core/ |
|
PathHooksTest::testPathHooks | function | core/ |
Tests that the PathAlias entity clears caches correctly. |
Registry::getBaseHook | function | core/ |
Returns the base hook for a given hook suggestion. |
SearchPageOverrideTest::testSearchPageHook | function | core/ |
|
SystemAuthorizeTest::testFileTransferHooks | function | core/ |
Tests the FileTransfer hooks. |
system_hook_info | function | core/ |
Implements hook_hook_info(). |
TaxonomyQueryAlterTest::setupQueryTagTestHooks | function | core/ |
Sets up the hooks in the test module. |
TemporaryQueryGuard::getAccessResultsFromEntityFilterHook | function | core/ |
Gets the combined access result for each JSONAPI_FILTER_AMONG_* subset. |
TokenTest::testReplaceWithHookTokensAlterWithBubbleableMetadata | function | core/ |
@covers ::replace[[api-linebreak]] @covers ::replace[[api-linebreak]] |
TokenTest::testReplaceWithHookTokensWithBubbleableMetadata | function | core/ |
@covers ::replace[[api-linebreak]] |
Pagination
- Previous page
- Page 11
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.