Search for hook
Title | Object type | File name | Summary |
---|---|---|---|
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. |
PathAliasStorage::invokeHook | function | core/ |
Invokes a hook on behalf of the entity. |
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/ |
|
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. |
TemporaryQueryGuard::getAccessResultsFromEntityFilterHook | function | core/ |
Gets the combined access result for each JSONAPI_FILTER_AMONG_* subset. |
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… |
TestDeprecatedTestHooks::testHookTestGroupStarted | function | core/ |
@expectedDeprecation The deprecated hook hook_test_group_started() is implemented in these functions: simpletest_deprecation_test_test_group_started(). Convert your test to a PHPUnit-based one and implement test listeners. See… |
TestDiscoveryDeprecationTest::testHookSimpletestAlter | function | core/ |
@expectedDeprecation The deprecated alter hook hook_simpletest_alter() is implemented in these functions: simpletest_deprecation_test_simpletest_alter. Convert your test to a PHPUnit-based one and implement test listeners. See:… |
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 enable. |
ToolbarHookToolbarTest::setUp | function | core/ |
|
ToolbarHookToolbarTest::testHookToolbar | function | core/ |
Tests for a tab and tray provided by a module implementing hook_toolbar(). |
UpdateContribTest::testHookUpdateStatusAlter | function | core/ |
Checks that hook_update_status_alter() works to change a status. |
UpdatePathTestBaseTest::testUpdateHookN | function | core/ |
Test that updates are properly run. |
UpdateSchemaTest::testUpdateHooks | function | core/ |
Tests that update hooks are properly run. |
update_test_invalid_hook.info.yml | file | core/ |
core/modules/system/tests/modules/update_test_invalid_hook/update_test_invalid_hook.info.yml |
update_test_invalid_hook.install | file | core/ |
Install, update and uninstall functions for the update_test_invalid_hook module. |
update_test_invalid_hook_update_8000 | function | core/ |
Hook implementation using the reserved schema version 8000. |
UrlResolverTest::testResourceUrlAlterHook | function | core/ |
Tests that hook_oembed_resource_url_alter() is invoked. |
user_hooks_test.info.yml | file | core/ |
core/modules/user/tests/modules/user_hooks_test/user_hooks_test.info.yml |
user_hooks_test.module | file | core/ |
Support module for user hooks testing. |
user_hooks_test_user_format_name_alter | function | core/ |
Implements hook_user_format_name_alter(). |
Views hooks | group | core/ |
Hooks that allow other modules to implement the Views API. |
ViewsDisplay::$uses_hook_block | property | core/ |
Does the display plugin provide blocks. |
ViewsHandlerManagerTest::testAlterHookInvocation | function | core/ |
Tests that hook_views_plugins_TYPE_alter() is invoked for a handler type. |
ViewsHooksTest | class | core/ |
Tests that views hooks are registered when defined in $module.views.inc. |
Pagination
- Previous page
- Page 12
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.