Search for entity_type

  1. Search 7.x for entity_type
  2. Search 9.5.x for entity_type
  3. Search 8.9.x for entity_type
  4. Search 11.x for entity_type
  5. Other projects
Title Object type File name Summary
hook_ENTITY_TYPE_delete function core/lib/Drupal/Core/Entity/entity.api.php Respond to entity deletion of a particular type.
hook_ENTITY_TYPE_field_values_init function core/lib/Drupal/Core/Entity/entity.api.php Acts when initializing a fieldable entity object.
hook_ENTITY_TYPE_insert function core/lib/Drupal/Core/Entity/entity.api.php Respond to creation of a new entity of a particular type.
hook_ENTITY_TYPE_load function core/lib/Drupal/Core/Entity/entity.api.php Act on entities of a specific type when loaded.
hook_ENTITY_TYPE_predelete function core/lib/Drupal/Core/Entity/entity.api.php Act before entity deletion of a particular entity type.
hook_ENTITY_TYPE_prepare_form function core/lib/Drupal/Core/Entity/entity.api.php Acts on a particular type of entity object about to be in an entity form.
hook_ENTITY_TYPE_presave function core/lib/Drupal/Core/Entity/entity.api.php Act on a specific type of entity before it is created or updated.
hook_ENTITY_TYPE_revision_create function core/lib/Drupal/Core/Entity/entity.api.php Respond to entity revision creation.
hook_ENTITY_TYPE_revision_delete function core/lib/Drupal/Core/Entity/entity.api.php Respond to entity revision deletion of a particular type.
hook_ENTITY_TYPE_storage_load function core/lib/Drupal/Core/Entity/entity.api.php Act on content entities of a given type when loaded from the storage.
hook_ENTITY_TYPE_translation_create function core/lib/Drupal/Core/Entity/entity.api.php Acts when creating a new entity translation of a specific type.
hook_ENTITY_TYPE_translation_delete function core/lib/Drupal/Core/Entity/entity.api.php Respond to entity translation deletion of a particular type.
hook_ENTITY_TYPE_translation_insert function core/lib/Drupal/Core/Entity/entity.api.php Respond to creation of a new entity translation of a particular type.
hook_ENTITY_TYPE_update function core/lib/Drupal/Core/Entity/entity.api.php Respond to updates to an entity of a particular type.
hook_ENTITY_TYPE_view function core/lib/Drupal/Core/Entity/entity.api.php Act on entities of a particular type being assembled before rendering.
hook_ENTITY_TYPE_view_alter function core/lib/Drupal/Core/Entity/entity.api.php Alter the results of the entity build array for a particular entity type.
hook_ENTITY_TYPE_view_mode_alter function core/lib/Drupal/Core/Entity/entity.api.php Change the view mode of a specific entity type currently being displayed.
hook_field_info_entity_type_ui_definitions_alter function core/modules/field/field.api.php Alters the UI field definitions.
hook_jsonapi_ENTITY_TYPE_filter_access function core/modules/jsonapi/jsonapi.api.php Controls access to filtering by entity data via JSON:API.
install_core_entity_type_definitions function core/includes/install.core.inc Installs entity type definitions provided by core.
keyvalue_test_entity_type_alter function core/modules/system/tests/modules/keyvalue_test/keyvalue_test.module Implements hook_entity_type_alter().
layout_builder_entity_type_alter function core/modules/layout_builder/layout_builder.module Implements hook_entity_type_alter().
media_entity_type_alter function core/modules/media/media.module Implements hook_entity_type_alter().
media_library_test_entity_type_alter function core/modules/media_library/tests/modules/media_library_test/media_library_test.module Implements hook_entity_type_alter().
menu_link_content_entity_type_alter function core/modules/menu_link_content/menu_link_content.module Implements hook_entity_type_alter().
menu_ui_entity_type_build function core/modules/menu_ui/menu_ui.module Implements hook_entity_type_build().
path_entity_type_alter function core/modules/path/path.module Implements hook_entity_type_alter().
settings_tray_entity_type_build function core/modules/settings_tray/settings_tray.module Implements hook_entity_type_build().
system_entity_type_build function core/modules/system/system.module Implements hook_entity_type_build().
taxonomy_term_display_configurable_test_entity_type_build function core/modules/taxonomy/tests/modules/taxonomy_term_display_configurable_test/taxonomy_term_display_configurable_test.module Implements hook_entity_type_build().
views.view.test_entity_type_filter.yml file core/modules/views/tests/modules/views_test_config/test_views/views.view.test_entity_type_filter.yml core/modules/views/tests/modules/views_test_config/test_views/views.view.test_entity_type_filter.yml
views_ui_entity_type_build function core/modules/views_ui/views_ui.module Implements hook_entity_type_build().
workspaces_entity_type_alter function core/modules/workspaces/workspaces.module Implements hook_entity_type_alter().
workspaces_entity_type_build function core/modules/workspaces/workspaces.module Implements hook_entity_type_build().
_views_field_get_entity_type_storage function core/modules/views/views.views.inc Determines whether the entity type the field appears in is SQL based.

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