Search for hook_
- Search 7.x for hook_
- Search 9.5.x for hook_
- Search 10.3.x for hook_
- Search 11.x for hook_
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
LanguageEntityFieldAccessHookTest::testHookEntityFieldAccess | function | core/ |
Tests compatibility with hook_entity_field_access(). |
LibraryDiscoveryIntegrationTest::testHookLibraryInfoByTheme | function | core/ |
Tests that hook_library_info is invoked and the cache is cleared. |
LinkGenerationTest::testHookLinkAlter | function | core/ |
Tests how hook_link_alter() can affect escaping of the link text. |
LocalActionsAndTasksConvertedIntoBlocksUpdateTest::testUpdateHookN | function | core/ |
Tests that local actions/tasks are being converted into blocks. |
MediaTemplateSuggestionsTest::testMediaThemeHookSuggestions | function | core/ |
Tests template suggestions from media_theme_suggestions_media(). |
MenuRouterTest::doTestHookMenuIntegration | function | core/ |
Test 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(). |
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]] @expectedDeprecation The deprecated alter hook hook_deprecated_alter_alter() is implemented in these functions: deprecation_test_deprecated_alter_alter. Alter something else. |
ModuleHandlerDeprecatedHookTest::testInvokeAllDeprecated | function | core/ |
@covers ::invokeAllDeprecated[[api-linebreak]] @expectedDeprecation The deprecated hook hook_deprecated_hook() is implemented in these functions: deprecation_test_deprecated_hook(). Use something else. |
ModuleHandlerDeprecatedHookTest::testInvokeDeprecated | function | core/ |
@covers ::invokeDeprecated[[api-linebreak]] @expectedDeprecation The deprecated hook hook_deprecated_hook() is implemented in these functions: deprecation_test_deprecated_hook(). Use something else. |
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]] @doesNotPerformAssertions |
ModuleHandlerInterface::getHookInfo | function | core/ |
Retrieves a list of hooks that are declared through hook_hook_info(). |
ModuleHandlerTest::testGetHookInfo | function | core/ |
Test hook_hook_info() fetching through getHookInfo(). |
ModuleHandlerTest::testImplementsHookModuleEnabled | function | core/ |
Test 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_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. |
PageTitleConvertedIntoBlockUpdateTest::testUpdateHookN | function | core/ |
Tests that page title is being converted into a block. |
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. |
SevenSecondaryLocalTasksConvertedIntoBlockUpdateTest::testUpdateHookN | function | core/ |
Tests that local actions/tasks are being converted into blocks. |
SiteBrandingConvertedIntoBlockUpdateTest::testUpdateHookN | function | core/ |
Tests that site branding elements are being converted into blocks. |
StableBaseThemeUpdateTest::testUpdateHookN | function | core/ |
Tests that the Stable base theme is installed if necessary. |
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. |
TestDeprecatedTestHooks | class | core/ |
Test the deprecation messages for Simpletest test hooks. |
TestDeprecatedTestHooks.php | file | core/ |
|
TestDeprecatedTestHooks::$modules | property | core/ |
Modules to enable. |
TestDeprecatedTestHooks::testHookTestFinished | function | core/ |
@expectedDeprecation The deprecated hook hook_test_finished() is implemented in these functions: simpletest_deprecation_test_test_finished(). Convert your test to a PHPUnit-based one and implement test listeners. See https://www.drupal.org/node/2934242 |
TestDeprecatedTestHooks::testHookTestGroupFinished | function | core/ |
@expectedDeprecation The deprecated hook hook_test_group_finished() is implemented in these functions: simpletest_deprecation_test_test_group_finished(). Convert your test to a PHPUnit-based one and implement test listeners. See… |
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.