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
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().
entity_crud_hook_test.info.yml file core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.info.yml core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.info.yml
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().
FieldHooks::entityFieldStorageInfo function core/modules/field/src/Hook/FieldHooks.php Implements hook_entity_field_storage_info().
FieldHooks::fieldConfigCreate function core/modules/field/src/Hook/FieldHooks.php Implements hook_ENTITY_TYPE_create() for 'field_config'.
FieldHooks::fieldConfigInsert function core/modules/field/src/Hook/FieldHooks.php Implements hook_ENTITY_TYPE_insert() for 'field_config'.
FieldHooks::fieldConfigPresave function core/modules/field/src/Hook/FieldHooks.php Implements hook_ENTITY_TYPE_presave() for 'field_config'.
FieldHooks::fieldStorageConfigUpdate function core/modules/field/src/Hook/FieldHooks.php Implements hook_ENTITY_TYPE_update() for 'field_storage_config'.
FieldHooks::formConfigAdminImportFormAlter function core/modules/field/src/Hook/FieldHooks.php Implements hook_form_FORM_ID_alter().
FieldHooks::help function core/modules/field/src/Hook/FieldHooks.php Implements hook_help().
FieldHooks::__construct function core/modules/field/src/Hook/FieldHooks.php
FieldLayoutHooks class core/modules/field_layout/src/Hook/FieldLayoutHooks.php Hook implementations for field_layout.
FieldLayoutHooks.php file core/modules/field_layout/src/Hook/FieldLayoutHooks.php
FieldLayoutHooks::entityTypeAlter function core/modules/field_layout/src/Hook/FieldLayoutHooks.php Implements hook_entity_type_alter().
FieldLayoutHooks::entityViewAlter function core/modules/field_layout/src/Hook/FieldLayoutHooks.php Implements hook_entity_view_alter().
FieldLayoutHooks::formAlter function core/modules/field_layout/src/Hook/FieldLayoutHooks.php Implements hook_form_alter().
FieldLayoutHooks::help function core/modules/field_layout/src/Hook/FieldLayoutHooks.php Implements hook_help().
FieldLayoutTestHooks class core/modules/field_layout/tests/modules/field_layout_test/src/Hook/FieldLayoutTestHooks.php Hook implementations for field_layout_test.
FieldLayoutTestHooks.php file core/modules/field_layout/tests/modules/field_layout_test/src/Hook/FieldLayoutTestHooks.php
FieldLayoutTestHooks::layoutAlter function core/modules/field_layout/tests/modules/field_layout_test/src/Hook/FieldLayoutTestHooks.php Implements hook_layout_alter().
FieldStorageEntityTypeDependencyTestHook.php file core/modules/system/tests/modules/field_storage_entity_type_dependency_test/src/Hook/FieldStorageEntityTypeDependencyTestHook.php
FieldStorageEntityTypeDependencyTestHook::systemInfoAlter function core/modules/system/tests/modules/field_storage_entity_type_dependency_test/src/Hook/FieldStorageEntityTypeDependencyTestHook.php Implements hook_system_info_alter().
FieldTestBooleanAccessDeniedHooks class core/modules/field/tests/modules/field_test_boolean_access_denied/src/Hook/FieldTestBooleanAccessDeniedHooks.php Hook implementations for field_test_boolean_access_denied.
FieldTestBooleanAccessDeniedHooks.php file core/modules/field/tests/modules/field_test_boolean_access_denied/src/Hook/FieldTestBooleanAccessDeniedHooks.php
FieldTestBooleanAccessDeniedHooks::entityFieldAccess function core/modules/field/tests/modules/field_test_boolean_access_denied/src/Hook/FieldTestBooleanAccessDeniedHooks.php Implements hook_entity_field_access().
FieldTestEntityHooks class core/modules/field/tests/modules/field_test/src/Hook/FieldTestEntityHooks.php Hook implementations for field_test.
FieldTestEntityHooks.php file core/modules/field/tests/modules/field_test/src/Hook/FieldTestEntityHooks.php
FieldTestEntityHooks::entityTypeAlter function core/modules/field/tests/modules/field_test/src/Hook/FieldTestEntityHooks.php Implements hook_entity_type_alter().
FieldTestFieldHooks class core/modules/field/tests/modules/field_test/src/Hook/FieldTestFieldHooks.php Hook implementations for field_test.
FieldTestFieldHooks.php file core/modules/field/tests/modules/field_test/src/Hook/FieldTestFieldHooks.php
FieldTestFieldHooks::entityFieldAccess function core/modules/field/tests/modules/field_test/src/Hook/FieldTestFieldHooks.php Implements hook_entity_field_access().
FieldTestFieldHooks::fieldStorageConfigUpdateForbid function core/modules/field/tests/modules/field_test/src/Hook/FieldTestFieldHooks.php Implements hook_field_storage_config_update_forbid().

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