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 |
---|---|---|---|
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. |
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. |
ViewsHooksTest.php | file | core/ |
|
ViewsHooksTest::$hooks | property | core/ |
An array of available views hooks to test. |
ViewsHooksTest::$moduleHandler | property | core/ |
The module handler to use for invoking hooks. |
ViewsHooksTest::$testViews | property | core/ |
Views used by this test. |
ViewsHooksTest::setUp | function | core/ |
|
ViewsHooksTest::testHooks | function | core/ |
Tests the hooks. |
ViewsHooksTest::testViewsFormMainFormPreRender | function | core/ |
Tests how hook_views_form_substitutions() makes substitutions. |
ViewsHooksTest::testViewsPreRenderViewsFormViewsForm | function | core/ |
Tests views_pre_render_views_form_views_form() deprecation. |
ViewsLocalTaskTest::testGetDerivativeDefinitionsWithoutHookMenuViews | function | core/ |
Tests fetching the derivatives on no view with hook menu. |
views_hook_info | function | core/ |
Implements hook_hook_info(). |
_entity_test_record_hooks | function | core/ |
Helper function to be used to record hook invocations. |
Pagination
- Previous page
- Page 12
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.