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
ImageHooks::entityPresave function core/modules/image/src/Hook/ImageHooks.php Implements hook_entity_presave().
ImageHooks::fieldConfigDelete function core/modules/image/src/Hook/ImageHooks.php Implements hook_ENTITY_TYPE_delete() for 'field_config'.
ImageHooks::fieldConfigUpdate function core/modules/image/src/Hook/ImageHooks.php Implements hook_ENTITY_TYPE_update() for 'field_config'.
ImageHooks::fieldStorageConfigDelete function core/modules/image/src/Hook/ImageHooks.php Implements hook_ENTITY_TYPE_delete() for 'field_storage_config'.
ImageHooks::fieldStorageConfigUpdate function core/modules/image/src/Hook/ImageHooks.php Implements hook_ENTITY_TYPE_update() for 'field_storage_config'.
ImageHooks::fileDownload function core/modules/image/src/Hook/ImageHooks.php Implements hook_file_download().
ImageHooks::fileMove function core/modules/image/src/Hook/ImageHooks.php Implements hook_file_move().
ImageHooks::filePredelete function core/modules/image/src/Hook/ImageHooks.php Implements hook_ENTITY_TYPE_predelete() for file entities.
ImageHooks::help function core/modules/image/src/Hook/ImageHooks.php Implements hook_help().
ImageModuleTestHooks class core/modules/image/tests/modules/image_module_test/src/Hook/ImageModuleTestHooks.php Hook implementations for image_module_test.
ImageModuleTestHooks.php file core/modules/image/tests/modules/image_module_test/src/Hook/ImageModuleTestHooks.php
ImageModuleTestHooks::fileDownload function core/modules/image/tests/modules/image_module_test/src/Hook/ImageModuleTestHooks.php Implements hook_file_download().
ImageModuleTestHooks::imageEffectInfoAlter function core/modules/image/tests/modules/image_module_test/src/Hook/ImageModuleTestHooks.php Implements hook_image_effect_info_alter().
ImageModuleTestHooks::imageStyleFlush function core/modules/image/tests/modules/image_module_test/src/Hook/ImageModuleTestHooks.php Implements hook_image_style_flush().
ImageModuleTestHooks::imageStylePresave function core/modules/image/tests/modules/image_module_test/src/Hook/ImageModuleTestHooks.php Implements hook_ENTITY_TYPE_presave().
ImagePropertyConstraintValidationHooks class core/modules/image/tests/modules/image_field_property_constraint_validation/src/Hook/ImagePropertyConstraintValidationHooks.php Hook implementations for image_field_property_constraint_validation.
ImagePropertyConstraintValidationHooks.php file core/modules/image/tests/modules/image_field_property_constraint_validation/src/Hook/ImagePropertyConstraintValidationHooks.php
ImagePropertyConstraintValidationHooks::entityBundleFieldInfoAlter function core/modules/image/tests/modules/image_field_property_constraint_validation/src/Hook/ImagePropertyConstraintValidationHooks.php Implements hook_entity_bundle_field_info_alter().
ImageThemeHooks class core/modules/image/src/Hook/ImageThemeHooks.php Theme hook implementations for image module.
ImageThemeHooks.php file core/modules/image/src/Hook/ImageThemeHooks.php
ImageThemeHooks::preprocessImageAnchor function core/modules/image/src/Hook/ImageThemeHooks.php Prepares variables for image anchor templates.
ImageThemeHooks::preprocessImageFormatter function core/modules/image/src/Hook/ImageThemeHooks.php Prepares variables for image formatter templates.
ImageThemeHooks::preprocessImageStyle function core/modules/image/src/Hook/ImageThemeHooks.php Prepares variables for image style templates.
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 Gets the definition of all plugins for this type.
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.
InstallerExistingConfigProfileHookInstallTest class core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigProfileHookInstallTest.php Verifies that profiles with hook_install() can't be installed from config.

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