Search for hook_
| Title | Object type | File name | Summary |
|---|---|---|---|
| ModuleHandlerDeprecatedHookTest::$modules | property | core/ |
Modules to install. |
| 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(). |
| ModuleHandlerTest::testGetHookInfo | function | core/ |
Tests hook_hook_info() fetching through getHookInfo(). |
| 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/ |
|
| 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_hook_info | function | core/ |
Implements hook_hook_info(). |
| 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 install. |
| PathHooksTest::setUp | function | core/ |
|
| PathHooksTest::testPathHooks | function | core/ |
Tests that the PathAlias entity clears caches correctly. |
| 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. |
| theme-test-deprecations-hook-theme.html.twig | file | core/ |
{# Test variables deprecated in hook_theme(). #} {{ foo }} |
| ThemeManager::buildThemeHookSuggestions | function | core/ |
Builds theme hook suggestions for a theme hook with variables. |
| TokenTest::testReplaceWithHookTokensAlterWithBubbleableMetadata | function | core/ |
@covers ::replace[[api-linebreak]] @covers ::replace[[api-linebreak]] |
| TokenTest::testReplaceWithHookTokensWithBubbleableMetadata | function | core/ |
@covers ::replace[[api-linebreak]] |
| ToolbarHookToolbarTest | class | core/ |
Tests the implementation of hook_toolbar() by a module. |
| ToolbarHookToolbarTest.php | file | core/ |
|
| ToolbarHookToolbarTest::$adminUser | property | core/ |
A user with permission to access the administrative toolbar. |
| ToolbarHookToolbarTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| ToolbarHookToolbarTest::$modules | property | core/ |
Modules to install. |
| ToolbarHookToolbarTest::setUp | function | core/ |
|
| ToolbarHookToolbarTest::testHookToolbar | function | core/ |
Tests for a tab and tray provided by a module implementing hook_toolbar(). |
| TwigDeprecationsTest::testHookThemeDeprecations | function | core/ |
Test deprecating variables at definition in hook_theme(). |
| update.update_hook_registry | service | core/ |
Drupal\Core\Update\UpdateHookRegistry |
| update.update_hook_registry_factory | service | core/ |
Drupal\Core\Update\UpdateHookRegistryFactory |
| UpdateContribTest::testHookUpdateStatusAlter | function | core/ |
Checks that hook_update_status_alter() works to change a status. |
| UpdateHookRegistry | class | core/ |
Provides module updates versions handling. |
| UpdateHookRegistry.php | file | core/ |
|
| UpdateHookRegistry::$allAvailableSchemaVersions | property | core/ |
A static cache of schema currentVersions per module. |
| UpdateHookRegistry::$enabledModules | property | core/ |
A list of enabled modules. |
| UpdateHookRegistry::$equivalentUpdates | property | core/ |
The core.equivalent_updates key value storage. |
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.