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 |
|---|---|---|---|
| AdminThemeUpdateTest::testUpdateHookN | function | core/ |
Tests that system.theme:admin is updated as expected. |
| BlockConditionMissingSchemaUpdateTest::testUpdateHookN | function | core/ |
Tests that block context mapping is updated properly. |
| BlockContextMappingUpdateTest::testUpdateHookN | function | core/ |
Tests that block context mapping is updated properly. |
| BlockHookOperationTest | class | core/ |
Tests for Block module regarding hook_entity_operations_alter(). |
| BlockHookOperationTest.php | file | core/ |
|
| BlockHookOperationTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| BlockHookOperationTest::$modules | property | core/ |
Modules to install. |
| BlockHookOperationTest::setUp | function | core/ |
|
| BlockHookOperationTest::testBlockOperationAlter | function | core/ |
Tests the block list to see if the test_operation link is added. |
| BlockRemoveDisabledRegionUpdateTest::testUpdateHookN | function | core/ |
Tests that block context mapping is updated properly. |
| BlockTemplateSuggestionsTest::testBlockThemeHookSuggestions | function | core/ |
Tests template suggestions from block_theme_suggestions_block(). |
| BookTest::testHookNodeLoadAccess | function | core/ |
Ensure the loaded book in hook_node_load() does not depend on the user. |
| BulkDeleteTest::checkHooksInvocations | function | core/ |
Tests that the expected hooks have been invoked on the expected entities. |
| CacheabilityMetadataUpdateTest::testUpdateHookN | function | core/ |
Tests that views cacheability metadata updated properly. |
| ComposerHookTest | class | core/ |
Tests Composer Hooks that run scaffold operations. |
| ComposerHookTest.php | file | core/ |
|
| ComposerHookTest::$fileSystem | property | core/ |
The Symfony FileSystem component. |
| ComposerHookTest::$fixtures | property | core/ |
The Fixtures object. |
| ComposerHookTest::$fixturesDir | property | core/ |
Directory to perform the tests in. |
| ComposerHookTest::setUp | function | core/ |
|
| ComposerHookTest::tearDown | function | core/ |
|
| ComposerHookTest::testComposerHooks | function | core/ |
Test to see if scaffold operation runs at the correct times. |
| ComposerHookTest::testScaffoldMessagesDoNotPrintTwice | function | core/ |
Test to see if scaffold messages are omitted when running scaffold twice. |
| ConfigImporterTest::testIsSyncingInHooks | function | core/ |
Tests the isSyncing flags. |
| config_test.hooks.inc | file | core/ |
Fake third-party hook implementations for ConfigTest entities. |
| ContentEntityStorageBase::invokeTranslationHooks | function | core/ |
Checks translation statuses and invoke the related hooks if needed. |
| ContentTranslationEntityBundleInfoTest::testHookInvocationOrder | function | core/ |
Tests that modules can know whether bundles are translatable. |
| DependencyHookInvocationTest | class | core/ |
Tests that the hook invocation for determining update dependencies works correctly. |
| DependencyHookInvocationTest.php | file | core/ |
|
| DependencyHookInvocationTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| DependencyHookInvocationTest::$modules | property | core/ |
Modules to enable. |
| DependencyHookInvocationTest::setUp | function | core/ |
|
| DependencyHookInvocationTest::testHookUpdateDependencies | function | core/ |
Test the structure of the array returned by hook_update_dependencies(). |
| DeprecatedPathHooksTest | class | core/ |
@coversDefaultClass \Drupal\Core\Path\AliasStorage[[api-linebreak]] |
| DeprecatedPathHooksTest.php | file | core/ |
|
| DeprecatedPathHooksTest::$modules | property | core/ |
Modules to enable. |
| DeprecatedPathHooksTest::setUp | function | core/ |
|
| DeprecatedPathHooksTest::testDelete | function | core/ |
@covers ::delete[[api-linebreak]] |
| DeprecatedPathHooksTest::testInsert | function | core/ |
@covers ::save[[api-linebreak]] |
| DeprecatedPathHooksTest::testUpdate | function | core/ |
@covers ::save[[api-linebreak]] |
| EditorFileUsageTest::testEditorEntityHooks | function | core/ |
Tests the configurable text editor manager. |
| Entity CRUD, editing, and view hooks | group | core/ |
Hooks used in various entity operations. |
| EntityAccessControlHandler::processAccessHookResults | function | core/ |
We grant access to the entity if both of these conditions are met: |
| EntityAccessControlHandlerTest::testHooks | function | core/ |
Tests hook invocations. |
| EntityCrudHookTest | class | core/ |
Tests the invocation of hooks when creating, inserting, loading, updating or deleting an entity. |
| EntityCrudHookTest.php | file | core/ |
|
| EntityCrudHookTest::$ids | property | core/ |
|
| EntityCrudHookTest::$modules | property | core/ |
Modules to enable. |
| EntityCrudHookTest::assertHookMessageOrder | function | core/ |
Checks the order of CRUD hook execution messages. |
| EntityCrudHookTest::setUp | function | core/ |
Pagination
- Page 1
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.