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 10.3.x for entity_type
  5. Other projects
Title Object type File name Summary
action_entity_type_build function core/modules/action/action.module Implements hook_entity_type_build().
book_entity_type_build function core/modules/book/book.module Implements hook_entity_type_build().
CommentType::$target_entity_type_id property core/modules/comment/src/Entity/CommentType.php The target entity type.
comment_display_configurable_test_entity_type_build function core/modules/comment/tests/modules/comment_display_configurable_test/comment_display_configurable_test.module Implements hook_entity_type_build().
comment_test_entity_type_alter function core/modules/comment/tests/modules/comment_test/comment_test.module Implements hook_entity_type_alter().
ConfigEntityType::$entity_type_class property core/lib/Drupal/Core/Entity/Annotation/ConfigEntityType.php The class used to represent the entity type.
config_entity_static_cache_test_entity_type_alter function core/modules/config/tests/config_entity_static_cache_test/config_entity_static_cache_test.module Implements hook_entity_type_alter().
config_test_entity_type_alter function core/modules/config/tests/config_test/config_test.module Implements hook_entity_type_alter().
config_test_rest_entity_type_alter function core/modules/rest/tests/modules/config_test_rest/config_test_rest.module Implements hook_entity_type_alter().
config_translation_entity_type_alter function core/modules/config_translation/config_translation.module Implements hook_entity_type_alter().
config_translation_test_entity_type_alter function core/modules/config_translation/tests/modules/config_translation_test/config_translation_test.module Implements hook_entity_type_alter().
ContentEntityType::$entity_type_class property core/lib/Drupal/Core/Entity/Annotation/ContentEntityType.php The class used to represent the entity type.
ContentLanguageSettings::$target_entity_type_id property core/modules/language/src/Entity/ContentLanguageSettings.php The entity type ID (machine name).
datetime_range_test_entity_type_alter function core/modules/datetime_range/tests/modules/datetime_range_test/datetime_range_test.module Implements hook_entity_type_alter().
Entity type characteristics group core/lib/Drupal/Core/Entity/entity.api.php Describes how to enhance entity types with additional functionality.
EntityReferenceSelection::$entity_types property core/lib/Drupal/Core/Entity/Annotation/EntityReferenceSelection.php An array of entity types that can be referenced by this plugin.
EntityType::$bundle_entity_type property core/lib/Drupal/Core/Entity/EntityType.php
EntityType::$entity_type_class property core/lib/Drupal/Core/Entity/Annotation/EntityType.php The class used to represent the entity type.
EntityUrlTest::ENTITY_TYPE_ID constant core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php The ID of the entity type used in this test.
entity_schema_test_entity_type_alter function core/modules/system/tests/modules/entity_schema_test/entity_schema_test.module Implements hook_entity_type_alter().
entity_test_bundle_class_entity_type_alter function core/modules/system/tests/modules/entity_test_bundle_class/entity_test_bundle_class.module Implements hook_entity_type_alter().
entity_test_bundle_class_entity_type_build function core/modules/system/tests/modules/entity_test_bundle_class/entity_test_bundle_class.module Implements hook_entity_type_build().
entity_test_constraints_entity_type_alter function core/modules/system/tests/modules/entity_test_constraints/entity_test_constraints.module Implements hook_entity_type_alter().
entity_test_constraints_entity_type_build function core/modules/system/tests/modules/entity_test_constraints/entity_test_constraints.module Implements hook_entity_type_build().
entity_test_entity_types function core/modules/system/tests/modules/entity_test/entity_test.module Returns a list of test entity types.
entity_test_update_entity_type_alter function core/modules/system/tests/modules/entity_test_update/entity_test_update.module Implements hook_entity_type_alter().
FieldConfigBase::$entity_type property core/lib/Drupal/Core/Field/FieldConfigBase.php The name of the entity type the field is attached to.
FieldStorageConfig::$entity_type property core/modules/field/src/Entity/FieldStorageConfig.php The name of the entity type the field can be attached to.
field_layout_entity_type_alter function core/modules/field_layout/field_layout.module Implements hook_entity_type_alter().
forum_entity_type_build function core/modules/forum/forum.module Implements hook_entity_type_build().
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_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.
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_form_mode_alter function core/lib/Drupal/Core/Entity/entity.api.php Change the form mode of a specific entity type currently being displayed.
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.

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