Search for hook_

  1. Search 7.x for hook_
  2. Search 9.5.x for hook_
  3. Search 8.9.x for hook_
  4. Search 10.3.x for hook_
  5. Other projects
Title Object type File name Summary
InstallerExistingConfigProfileHookInstallTest.php file core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigProfileHookInstallTest.php
InstallerExistingConfigProfileHookInstallTest::$profile property core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigProfileHookInstallTest.php This is set by the profile in the core.extension extracted.
InstallerExistingConfigProfileHookInstallTest::getConfigLocation function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigProfileHookInstallTest.php Gets the path to the configuration directory.
InstallerExistingConfigProfileHookInstallTest::setUpRequirementsProblem function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigProfileHookInstallTest.php Installer step: Requirements problem.
InstallerExistingConfigProfileHookInstallTest::setUpSettings function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigProfileHookInstallTest.php Installer step: Configure settings.
InstallerExistingConfigProfileHookInstallTest::setUpSite function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigProfileHookInstallTest.php Final installer step: Configure site.
InstallerExistingConfigProfileHookInstallTest::testConfigSync function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigProfileHookInstallTest.php Confirms the installation has failed and the expected error is displayed.
InstallerExistingConfigProfileHookInstallTest::visitInstaller function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigProfileHookInstallTest.php Visits the interactive installer.
InstallerExistingConfigSyncDirectoryProfileHookInstallTest class core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryProfileHookInstallTest.php Verifies that profiles with hook_install() can't be installed from config.
InstallerExistingConfigSyncDirectoryProfileHookInstallTest.php file core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryProfileHookInstallTest.php
InstallerExistingConfigSyncDirectoryProfileHookInstallTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryProfileHookInstallTest.php The theme to install as the default for testing.
InstallerExistingConfigSyncDirectoryProfileHookInstallTest::$existingSyncDirectory property core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryProfileHookInstallTest.php
InstallerExistingConfigSyncDirectoryProfileHookInstallTest::$profile property core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryProfileHookInstallTest.php This is set by the profile in the core.extension extracted.
InstallerExistingConfigSyncDirectoryProfileHookInstallTest::getConfigLocation function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryProfileHookInstallTest.php Gets the path to the configuration directory.
InstallerExistingConfigSyncDirectoryProfileHookInstallTest::setUpProfile function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryProfileHookInstallTest.php Installer step: Select installation profile.
InstallerExistingConfigSyncDirectoryProfileHookInstallTest::setUpRequirementsProblem function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryProfileHookInstallTest.php Installer step: Requirements problem.
InstallerExistingConfigSyncDirectoryProfileHookInstallTest::setUpSettings function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryProfileHookInstallTest.php Installer step: Configure settings.
InstallerExistingConfigSyncDirectoryProfileHookInstallTest::setUpSite function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryProfileHookInstallTest.php Final installer step: Configure site.
InstallerExistingConfigSyncDirectoryProfileHookInstallTest::testConfigSync function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryProfileHookInstallTest.php Tests installing from config is not available due to hook_INSTALL().
InstallerExistingConfigSyncDirectoryProfileHookInstallTest::visitInstaller function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryProfileHookInstallTest.php Visits the interactive installer.
InstallerProfileRequirementsTest::testHookRequirementsFailure function core/tests/Drupal/FunctionalTests/Installer/InstallerProfileRequirementsTest.php Assert that the profile failed hook_requirements().
InvalidUpdateHookTest class core/modules/system/tests/src/Functional/UpdateSystem/InvalidUpdateHookTest.php Tests that hook_update_8000() is disallowed.
InvalidUpdateHookTest.php file core/modules/system/tests/src/Functional/UpdateSystem/InvalidUpdateHookTest.php
InvalidUpdateHookTest::$defaultTheme property core/modules/system/tests/src/Functional/UpdateSystem/InvalidUpdateHookTest.php The theme to install as the default for testing.
InvalidUpdateHookTest::$modules property core/modules/system/tests/src/Functional/UpdateSystem/InvalidUpdateHookTest.php Modules to install.
InvalidUpdateHookTest::$updateUrl property core/modules/system/tests/src/Functional/UpdateSystem/InvalidUpdateHookTest.php URL for the upgrade script.
InvalidUpdateHookTest::$updateUser property core/modules/system/tests/src/Functional/UpdateSystem/InvalidUpdateHookTest.php A user account with upgrade permission.
InvalidUpdateHookTest::setUp function core/modules/system/tests/src/Functional/UpdateSystem/InvalidUpdateHookTest.php
InvalidUpdateHookTest::testInvalidUpdateHook function core/modules/system/tests/src/Functional/UpdateSystem/InvalidUpdateHookTest.php Tests updating from a module with a hook_update_8000().
JsDeprecationTestHooks class core/modules/system/tests/modules/js_deprecation_test/src/Hook/JsDeprecationTestHooks.php Hook implementations for js_deprecation_test.
JsDeprecationTestHooks.php file core/modules/system/tests/modules/js_deprecation_test/src/Hook/JsDeprecationTestHooks.php
JsDeprecationTestHooks::jsSettingsAlter function core/modules/system/tests/modules/js_deprecation_test/src/Hook/JsDeprecationTestHooks.php Implements hook_js_settings_alter().
JsDisplaceThemeHooks class core/modules/system/tests/modules/js_displace/src/Hook/JsDisplaceThemeHooks.php Theme hook implementations for js_displace module.
JsDisplaceThemeHooks.php file core/modules/system/tests/modules/js_displace/src/Hook/JsDisplaceThemeHooks.php
JsDisplaceThemeHooks::preprocessHtml function core/modules/system/tests/modules/js_displace/src/Hook/JsDisplaceThemeHooks.php Implements hook_preprocess_HOOK().
JsonapiHooks class core/modules/jsonapi/src/Hook/JsonapiHooks.php Hook implementations for jsonapi.
JsonapiHooks.php file core/modules/jsonapi/src/Hook/JsonapiHooks.php
JsonapiHooks::entityBundleCreate function core/modules/jsonapi/src/Hook/JsonapiHooks.php Implements hook_entity_bundle_create().
JsonapiHooks::entityBundleDelete function core/modules/jsonapi/src/Hook/JsonapiHooks.php Implements hook_entity_bundle_delete().
JsonapiHooks::entityCreate function core/modules/jsonapi/src/Hook/JsonapiHooks.php Implements hook_entity_create().
JsonapiHooks::entityDelete function core/modules/jsonapi/src/Hook/JsonapiHooks.php Implements hook_entity_delete().
JsonapiHooks::help function core/modules/jsonapi/src/Hook/JsonapiHooks.php Implements hook_help().
JsonapiHooks::jsonapiBlockContentFilterAccess function core/modules/jsonapi/src/Hook/JsonapiHooks.php Implements hook_jsonapi_ENTITY_TYPE_filter_access() for 'block_content'.
JsonapiHooks::jsonapiCommentFilterAccess function core/modules/jsonapi/src/Hook/JsonapiHooks.php Implements hook_jsonapi_ENTITY_TYPE_filter_access() for 'comment'.
JsonapiHooks::jsonapiEntityFilterAccess function core/modules/jsonapi/src/Hook/JsonapiHooks.php Implements hook_jsonapi_entity_filter_access().
JsonapiHooks::jsonapiEntityTestFilterAccess function core/modules/jsonapi/src/Hook/JsonapiHooks.php Implements hook_jsonapi_ENTITY_TYPE_filter_access() for 'entity_test'.
JsonapiHooks::jsonapiFileFilterAccess function core/modules/jsonapi/src/Hook/JsonapiHooks.php Implements hook_jsonapi_ENTITY_TYPE_filter_access() for 'file'.
JsonapiHooks::jsonapiMediaFilterAccess function core/modules/jsonapi/src/Hook/JsonapiHooks.php Implements hook_jsonapi_ENTITY_TYPE_filter_access() for 'media'.
JsonapiHooks::jsonapiNodeFilterAccess function core/modules/jsonapi/src/Hook/JsonapiHooks.php Implements hook_jsonapi_ENTITY_TYPE_filter_access() for 'node'.
JsonapiHooks::jsonapiShortcutFilterAccess function core/modules/jsonapi/src/Hook/JsonapiHooks.php Implements hook_jsonapi_ENTITY_TYPE_filter_access() for 'shortcut'.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.