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. Search 11.x for hook_
  6. Other projects
Title Object type File name Summary
InfoHookDecorator.php file core/lib/Drupal/Core/Plugin/Discovery/InfoHookDecorator.php
InfoHookDecorator::$decorated property core/lib/Drupal/Core/Plugin/Discovery/InfoHookDecorator.php The Discovery object being decorated.
InfoHookDecorator::$hook property core/lib/Drupal/Core/Plugin/Discovery/InfoHookDecorator.php The name of the info hook that will be implemented.
InfoHookDecorator::getDefinitions function core/lib/Drupal/Core/Plugin/Discovery/InfoHookDecorator.php
InfoHookDecorator::__call function core/lib/Drupal/Core/Plugin/Discovery/InfoHookDecorator.php Passes through all unknown calls onto the decorated object.
InfoHookDecorator::__construct function core/lib/Drupal/Core/Plugin/Discovery/InfoHookDecorator.php Constructs an InfoHookDecorator object.
InlineFormErrorsHooks class core/modules/inline_form_errors/src/Hook/InlineFormErrorsHooks.php Hook implementations for inline_form_errors.
InlineFormErrorsHooks.php file core/modules/inline_form_errors/src/Hook/InlineFormErrorsHooks.php
InlineFormErrorsHooks::elementInfoAlter function core/modules/inline_form_errors/src/Hook/InlineFormErrorsHooks.php Implements hook_element_info_alter().
InlineFormErrorsHooks::help function core/modules/inline_form_errors/src/Hook/InlineFormErrorsHooks.php Implements hook_help().
InlineFormErrorsThemeHooks class core/modules/inline_form_errors/src/Hook/InlineFormErrorsThemeHooks.php Hook implementations for inline_form_errors.
InlineFormErrorsThemeHooks.php file core/modules/inline_form_errors/src/Hook/InlineFormErrorsThemeHooks.php
InlineFormErrorsThemeHooks::preprocessDatetimeWrapper function core/modules/inline_form_errors/src/Hook/InlineFormErrorsThemeHooks.php Implements hook_preprocess_HOOK() for datetime form wrapper templates.
InlineFormErrorsThemeHooks::preprocessDetails function core/modules/inline_form_errors/src/Hook/InlineFormErrorsThemeHooks.php Implements hook_preprocess_HOOK() for details element templates.
InlineFormErrorsThemeHooks::preprocessFieldset function core/modules/inline_form_errors/src/Hook/InlineFormErrorsThemeHooks.php Implements hook_preprocess_HOOK() for fieldset element templates.
InlineFormErrorsThemeHooks::preprocessFormElement function core/modules/inline_form_errors/src/Hook/InlineFormErrorsThemeHooks.php Implements hook_preprocess_HOOK() for form element templates.
InlineFormErrorsThemeHooks::setErrors function core/modules/inline_form_errors/src/Hook/InlineFormErrorsThemeHooks.php Populates form errors in the template.
InstallerExistingConfigProfileHookInstallTest class core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigProfileHookInstallTest.php Verifies that profiles with hook_install() can't be installed from config.
InstallerExistingConfigProfileHookInstallTest.php file core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigProfileHookInstallTest.php
InstallerExistingConfigProfileHookInstallTest::$profile property core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigProfileHookInstallTest.php
InstallerExistingConfigProfileHookInstallTest::getConfigLocation function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigProfileHookInstallTest.php
InstallerExistingConfigProfileHookInstallTest::prepareEnvironment function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigProfileHookInstallTest.php
InstallerExistingConfigProfileHookInstallTest::setUpRequirementsProblem function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigProfileHookInstallTest.php
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.
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
InstallerExistingConfigSyncDirectoryProfileHookInstallTest::$existingSyncDirectory property core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryProfileHookInstallTest.php
InstallerExistingConfigSyncDirectoryProfileHookInstallTest::$profile property core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryProfileHookInstallTest.php
InstallerExistingConfigSyncDirectoryProfileHookInstallTest::getConfigLocation function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryProfileHookInstallTest.php
InstallerExistingConfigSyncDirectoryProfileHookInstallTest::prepareEnvironment function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryProfileHookInstallTest.php
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().
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
InvalidUpdateHookTest::$modules property core/modules/system/tests/src/Functional/UpdateSystem/InvalidUpdateHookTest.php
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.

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