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
ImageThemeHooks::preprocessImageStylePreview function core/modules/image/src/Hook/ImageThemeHooks.php Prepares variables for image style preview templates.
ImageThemeHooks::preprocessImageWidget function core/modules/image/src/Hook/ImageThemeHooks.php Prepares variables for image widget templates.
ImageThemeHooks::theme function core/modules/image/src/Hook/ImageThemeHooks.php Implements hook_theme().
ImageThemeHooks::__construct function core/modules/image/src/Hook/ImageThemeHooks.php
ImageViewsHooks class core/modules/image/src/Hook/ImageViewsHooks.php Hook implementations for image.
ImageViewsHooks.php file core/modules/image/src/Hook/ImageViewsHooks.php
ImageViewsHooks::fieldViewsData function core/modules/image/src/Hook/ImageViewsHooks.php Implements hook_field_views_data().
ImageViewsHooks::fieldViewsDataViewsDataAlter function core/modules/image/src/Hook/ImageViewsHooks.php Implements hook_field_views_data_views_data_alter().
ImageViewsHooks::__construct function core/modules/image/src/Hook/ImageViewsHooks.php
InfoHookDecorator class core/lib/Drupal/Core/Plugin/Discovery/InfoHookDecorator.php Allows info hook implementations to enhance discovered plugin definitions.
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::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.
InstallerExistingConfigProfileHookInstallTest::visitInstaller function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigProfileHookInstallTest.php
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::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
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.

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