Search for hook_
| Title | Object type | File name | Summary |
|---|---|---|---|
| UpdateHookRegistry::$keyValue | property | core/ |
The system.schema key value storage. |
| UpdateHookRegistry::deleteEquivalentUpdate | function | core/ |
Removes an equivalent update. |
| UpdateHookRegistry::deleteInstalledVersion | function | core/ |
Deletes the installed version information for the module. |
| UpdateHookRegistry::determineModuleAndVersion | function | core/ |
Determines the module and update number from the stack trace. |
| UpdateHookRegistry::FUNC_NAME_REGEXP | constant | core/ |
Regular expression to match all possible defined hook_update_N(). |
| UpdateHookRegistry::getAllEquivalentUpdates | function | core/ |
Returns the equivalent update information for all modules. |
| UpdateHookRegistry::getAllInstalledVersions | function | core/ |
Returns the currently installed schema version for all modules. |
| UpdateHookRegistry::getAvailableUpdates | function | core/ |
Returns an array of available schema versions for a module. |
| UpdateHookRegistry::getEquivalentUpdate | function | core/ |
Gets the EquivalentUpdate object for an update. |
| UpdateHookRegistry::getInstalledVersion | function | core/ |
Returns the currently installed schema version for a module. |
| UpdateHookRegistry::markFutureUpdateEquivalent | function | core/ |
Marks a future update as equivalent to the current update running. |
| UpdateHookRegistry::SCHEMA_UNINSTALLED | constant | core/ |
Indicates that a module has not been installed yet. |
| UpdateHookRegistry::setInstalledVersion | function | core/ |
Updates the installed version information for a module. |
| UpdateHookRegistry::__construct | function | core/ |
Constructs a new UpdateHookRegistry. |
| UpdateHookRegistryFactory | class | core/ |
Service factory for the versioning update registry. |
| UpdateHookRegistryFactory.php | file | core/ |
|
| UpdateHookRegistryFactory::create | function | core/ |
Creates a new UpdateHookRegistry instance. |
| UpdateHookRegistryTest | class | core/ |
@coversDefaultClass \Drupal\Core\Update\UpdateHookRegistry[[api-linebreak]] @group Update |
| UpdateHookRegistryTest.php | file | core/ |
|
| UpdateHookRegistryTest::$equivalentUpdatesStore | property | core/ |
|
| UpdateHookRegistryTest::$keyValueFactory | property | core/ |
|
| UpdateHookRegistryTest::$keyValueStore | property | core/ |
|
| UpdateHookRegistryTest::setUp | function | core/ |
|
| UpdateHookRegistryTest::testGetInstalledVersion | function | core/ |
@covers ::getInstalledVersion[[api-linebreak]] @covers ::getAllInstalledVersions[[api-linebreak]] @covers ::setInstalledVersion[[api-linebreak]] @covers ::deleteInstalledVersion[[api-linebreak]] |
| UpdateHookRegistryTest::testGetVersions | function | core/ |
@covers ::getAvailableUpdates[[api-linebreak]] |
| UpdatePathTestBaseTest::testUpdateHookN | function | core/ |
Tests that updates are properly run. |
| UpdateSchemaTest::testUpdateHooks | function | core/ |
Tests that update hooks are properly run. |
| update_test_broken_theme_hook.info.yml | file | core/ |
core/modules/system/tests/modules/update_test_broken_theme_hook/update_test_broken_theme_hook.info.yml |
| update_test_broken_theme_hook.module | file | core/ |
Hook implementations for the update_test_broken_theme_hook module. |
| update_test_broken_theme_hook_theme | function | core/ |
Implements hook_theme(). |
| 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(). |
| 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::$viewStorage | property | core/ |
The view storage. |
| ViewsHooksTest::setUp | function | core/ |
|
| ViewsHooksTest::testHooks | function | core/ |
Tests the hooks. |
| ViewsHooksTest::testViewsFormMainFormPreRender | function | core/ |
Tests how hook_views_form_substitutions() makes substitutions. |
| ViewsHooksTest::testViewsInvalidateCacheOnDelete | function | core/ |
Test that hook_views_invalidate_cache() is called when a view is deleted. |
| ViewsLocalTaskTest::testGetDerivativeDefinitionsWithoutHookMenuViews | function | core/ |
Tests fetching the derivatives on no view with hook menu. |
| views_hook_info | function | core/ |
Implements hook_hook_info(). |
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.