Search for hook_entity_

  1. Search 7.x for hook_entity_
  2. Search 9.5.x for hook_entity_
  3. Search 8.9.x for hook_entity_
  4. Search 10.3.x for hook_entity_
  5. Other projects
Title Object type File name Summary
hook_entity_access function core/lib/Drupal/Core/Entity/entity.api.php Control entity operation access.
hook_entity_base_field_info function core/lib/Drupal/Core/Entity/entity.api.php Provides custom base field definitions for a content entity type.
hook_entity_base_field_info_alter function core/lib/Drupal/Core/Entity/entity.api.php Alter base field definitions for a content entity type.
hook_entity_build_defaults_alter function core/lib/Drupal/Core/Entity/entity.api.php Alter entity renderable values before cache checking during rendering.
hook_entity_bundle_create function core/lib/Drupal/Core/Entity/entity.api.php Act on entity_bundle_create().
hook_entity_bundle_delete function core/lib/Drupal/Core/Entity/entity.api.php Act on entity_bundle_delete().
hook_entity_bundle_field_info function core/lib/Drupal/Core/Entity/entity.api.php Provides field definitions for a specific bundle within an entity type.
hook_entity_bundle_field_info_alter function core/lib/Drupal/Core/Entity/entity.api.php Alter bundle field definitions.
hook_entity_bundle_info function core/lib/Drupal/Core/Entity/entity.api.php Describe the bundles for entity types.
hook_entity_bundle_info_alter function core/lib/Drupal/Core/Entity/entity.api.php Alter the bundles for entity types.
hook_entity_create function core/lib/Drupal/Core/Entity/entity.api.php Acts when creating a new entity.
hook_entity_create_access function core/lib/Drupal/Core/Entity/entity.api.php Control entity create access.
hook_entity_delete function core/lib/Drupal/Core/Entity/entity.api.php Respond to entity deletion.
hook_entity_display_build_alter function core/lib/Drupal/Core/Entity/entity.api.php Alter the render array generated by an EntityDisplay for an entity.
hook_entity_duplicate function core/lib/Drupal/Core/Entity/entity.api.php Acts when duplicating an existing entity.
hook_entity_extra_field_info function core/lib/Drupal/Core/Entity/entity.api.php Exposes "pseudo-field" components on content entities.
hook_entity_extra_field_info_alter function core/lib/Drupal/Core/Entity/entity.api.php Alter "pseudo-field" components on content entities.
hook_entity_field_access function core/lib/Drupal/Core/Entity/entity.api.php Control access to fields.
hook_entity_field_access_alter function core/lib/Drupal/Core/Entity/entity.api.php Alter the default access behavior for a given field.
hook_entity_field_storage_info function core/lib/Drupal/Core/Entity/entity.api.php Provides field storage definitions for a content entity type.
hook_entity_field_storage_info_alter function core/lib/Drupal/Core/Entity/entity.api.php Alter field storage definitions for a content entity type.
hook_entity_field_values_init function core/lib/Drupal/Core/Entity/entity.api.php Acts when initializing a fieldable entity object.
hook_entity_form_display_alter function core/lib/Drupal/Core/Entity/entity.api.php Alter the settings used for displaying an entity form.
hook_entity_form_mode_alter function core/lib/Drupal/Core/Entity/entity.api.php Change the form mode used to build an entity form.
hook_entity_insert function core/lib/Drupal/Core/Entity/entity.api.php Respond to creation of a new entity.
hook_entity_load function core/lib/Drupal/Core/Entity/entity.api.php Act on entities when loaded.
hook_entity_operation function core/lib/Drupal/Core/Entity/entity.api.php Declares entity operations.
hook_entity_operation_alter function core/lib/Drupal/Core/Entity/entity.api.php Alter entity operations.
hook_entity_predelete function core/lib/Drupal/Core/Entity/entity.api.php Act before entity deletion.
hook_entity_preload function core/lib/Drupal/Core/Entity/entity.api.php Act on an array of entity IDs before they are loaded.
hook_entity_prepare_form function core/lib/Drupal/Core/Entity/entity.api.php Acts on an entity object about to be shown on an entity form.
hook_entity_prepare_view function core/lib/Drupal/Core/Entity/entity.api.php Act on entities as they are being prepared for view.
hook_entity_presave function core/lib/Drupal/Core/Entity/entity.api.php Act on an entity before it is created or updated.
hook_entity_query_alter function core/lib/Drupal/Core/Entity/entity.api.php Alter an entity query.
hook_entity_query_ENTITY_TYPE_alter function core/lib/Drupal/Core/Entity/entity.api.php Alter an entity query for a specific entity type.
hook_entity_query_tag__ENTITY_TYPE__TAG_alter function core/lib/Drupal/Core/Entity/entity.api.php Alter an entity query for a specific entity type that has a specific tag.
hook_entity_query_tag__TAG_alter function core/lib/Drupal/Core/Entity/entity.api.php Alter an entity query that has a specific tag.
hook_entity_reference_selection_alter function core/lib/Drupal/Core/Entity/entity.api.php Modify the list of available entity reference plugins.
hook_entity_revision_create function core/lib/Drupal/Core/Entity/entity.api.php Respond to entity revision creation.
hook_entity_revision_delete function core/lib/Drupal/Core/Entity/entity.api.php Respond to entity revision deletion.
hook_entity_storage_load function core/lib/Drupal/Core/Entity/entity.api.php Act on content entities when loaded from the storage.
hook_entity_translation_create function core/lib/Drupal/Core/Entity/entity.api.php Acts when creating a new entity translation.
hook_entity_translation_delete function core/lib/Drupal/Core/Entity/entity.api.php Respond to entity translation deletion.
hook_entity_translation_insert function core/lib/Drupal/Core/Entity/entity.api.php Respond to creation of a new entity translation.
hook_ENTITY_TYPE_access function core/lib/Drupal/Core/Entity/entity.api.php Control entity operation access for a specific entity type.
hook_entity_type_alter function core/lib/Drupal/Core/Entity/entity.api.php Alter the entity type definitions.
hook_entity_type_build function core/lib/Drupal/Core/Entity/entity.api.php Add to entity type definitions.
hook_ENTITY_TYPE_build_defaults_alter function core/lib/Drupal/Core/Entity/entity.api.php Alter entity renderable values before cache checking during rendering.
hook_ENTITY_TYPE_create function core/lib/Drupal/Core/Entity/entity.api.php Acts when creating a new entity of a specific type.
hook_ENTITY_TYPE_create_access function core/lib/Drupal/Core/Entity/entity.api.php Control entity create access for a specific entity type.

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