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
EntityTestHooks::entityTestMulrevChangedTranslationDelete function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_ENTITY_TYPE_translation_delete().
EntityTestHooks::entityTestMulrevChangedTranslationInsert function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_ENTITY_TYPE_translation_insert() for 'entity_test_mulrev'.
EntityTestHooks::entityTestMulrevRevisionCreate function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_ENTITY_TYPE_revision_create() for 'entity_test_mulrev'.
EntityTestHooks::entityTestMulrevTranslationCreate function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_ENTITY_TYPE_translation_create().
EntityTestHooks::entityTestMulrevTranslationDelete function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_ENTITY_TYPE_translation_delete() for 'entity_test_mulrev'.
EntityTestHooks::entityTestMulrevTranslationInsert function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_ENTITY_TYPE_translation_insert().
EntityTestHooks::entityTestMulTranslationCreate function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_ENTITY_TYPE_translation_create() for 'entity_test_mul'.
EntityTestHooks::entityTestMulTranslationDelete function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_ENTITY_TYPE_translation_delete() for 'entity_test_mul'.
EntityTestHooks::entityTestMulTranslationInsert function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_ENTITY_TYPE_translation_insert() for 'entity_test_mul'.
EntityTestHooks::entityTestViewModeAlter function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_ENTITY_TYPE_view_mode_alter().
EntityTestHooks::entityTranslationCreate function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_entity_translation_create().
EntityTestHooks::entityTranslationDelete function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_entity_translation_delete().
EntityTestHooks::entityTranslationInsert function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_entity_translation_insert().
EntityTestHooks::entityTypeAlter function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_entity_type_alter().
EntityTestHooks::entityUpdate function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_entity_update().
EntityTestHooks::entityViewModeInfoAlter function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_entity_view_mode_info_alter().
EntityTestHooks::formEntityTestFormAlter function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_form_BASE_FORM_ID_alter().
EntityTestHooks::formNodeFormAlter function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_form_BASE_FORM_ID_alter().
EntityTestHooks::queryEntityTestAccessAlter function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_query_entity_test_access_alter().
EntityTestHooks::recordHooks function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Helper function to be used to record hook invocations.
EntityTestHooks::__construct function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php
EntityTestOperationHooks class core/modules/system/tests/modules/entity_test_operation/src/Hook/EntityTestOperationHooks.php Hook implementations for entity_test_operation.
EntityTestOperationHooks.php file core/modules/system/tests/modules/entity_test_operation/src/Hook/EntityTestOperationHooks.php
EntityTestOperationHooks::entityOperation function core/modules/system/tests/modules/entity_test_operation/src/Hook/EntityTestOperationHooks.php Implements hook_entity_operation().
EntityTestUpdateHooks class core/modules/system/tests/modules/entity_test_update/src/Hook/EntityTestUpdateHooks.php Hook implementations for entity_test_update.
EntityTestUpdateHooks.php file core/modules/system/tests/modules/entity_test_update/src/Hook/EntityTestUpdateHooks.php
EntityTestUpdateHooks::entityBaseFieldInfo function core/modules/system/tests/modules/entity_test_update/src/Hook/EntityTestUpdateHooks.php Implements hook_entity_base_field_info().
EntityTestUpdateHooks::entityFieldStorageInfo function core/modules/system/tests/modules/entity_test_update/src/Hook/EntityTestUpdateHooks.php Implements hook_entity_field_storage_info().
EntityTestUpdateHooks::entityTypeAlter function core/modules/system/tests/modules/entity_test_update/src/Hook/EntityTestUpdateHooks.php Implements hook_entity_type_alter().
EntityTestUpdateHooks::viewPresave function core/modules/system/tests/modules/entity_test_update/src/Hook/EntityTestUpdateHooks.php Implements hook_ENTITY_TYPE_presave() for the 'view' entity type.
EntityTestViewsHooks class core/modules/system/tests/modules/entity_test/src/Hook/EntityTestViewsHooks.php Hook implementations for entity_test.
EntityTestViewsHooks.php file core/modules/system/tests/modules/entity_test/src/Hook/EntityTestViewsHooks.php
EntityTestViewsHooks::viewsDataAlter function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestViewsHooks.php Implements hook_views_data_alter().
EntityViewBuilderTest::testHookEntityTypeViewModeAlter function core/tests/Drupal/KernelTests/Core/Entity/EntityViewBuilderTest.php Tests a view mode alter on an entity.
EntityViewHookTest class core/tests/Drupal/KernelTests/Core/Entity/EntityViewHookTest.php Test view/render hooks for entities.
EntityViewHookTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityViewHookTest.php
EntityViewHookTest::testHookEntityDisplayBuildAlter function core/tests/Drupal/KernelTests/Core/Entity/EntityViewHookTest.php Tests hook_entity_display_build_alter().
EquivalentUpdateTest::testUpdateHooks function core/modules/system/tests/src/Functional/UpdateSystem/EquivalentUpdateTest.php Tests that update hooks are properly run.
ExperimentalModuleRequirementsTestHooks class core/modules/system/tests/modules/experimental_module_requirements_test/src/Hook/ExperimentalModuleRequirementsTestHooks.php Hook implementations for experimental_module_requirements_test.
ExperimentalModuleRequirementsTestHooks.php file core/modules/system/tests/modules/experimental_module_requirements_test/src/Hook/ExperimentalModuleRequirementsTestHooks.php
ExperimentalModuleRequirementsTestHooks::help function core/modules/system/tests/modules/experimental_module_requirements_test/src/Hook/ExperimentalModuleRequirementsTestHooks.php Implements hook_help().
ExperimentalModuleTestHooks class core/modules/system/tests/modules/experimental_module_test/src/Hook/ExperimentalModuleTestHooks.php Hook implementations for experimental_module_test.
ExperimentalModuleTestHooks.php file core/modules/system/tests/modules/experimental_module_test/src/Hook/ExperimentalModuleTestHooks.php
ExperimentalModuleTestHooks::help function core/modules/system/tests/modules/experimental_module_test/src/Hook/ExperimentalModuleTestHooks.php Implements hook_help().
FieldHooks class core/modules/field/src/Hook/FieldHooks.php Hook implementations for field.
FieldHooks.php file core/modules/field/src/Hook/FieldHooks.php
FieldHooks::configImportStepsAlter function core/modules/field/src/Hook/FieldHooks.php Implements hook_config_import_steps_alter().
FieldHooks::cron function core/modules/field/src/Hook/FieldHooks.php Implements hook_cron().
FieldHooks::entityBundleDelete function core/modules/field/src/Hook/FieldHooks.php Implements hook_entity_bundle_delete().
FieldHooks::entityBundleFieldInfo function core/modules/field/src/Hook/FieldHooks.php Implements hook_entity_bundle_field_info().

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