namespace Drupal\Core\Entity

Same name in other branches
  1. 9 Drupal\Core\Entity
  2. 8.9.x Drupal\Core\Entity
  3. 11.x Drupal\Core\Entity
Object name File name Summary
EntityFormBuilder core/lib/Drupal/Core/Entity/EntityFormBuilder.php Builds entity forms.
EntityFormBuilderInterface core/lib/Drupal/Core/Entity/EntityFormBuilderInterface.php Builds entity forms.
EntityFormInterface core/lib/Drupal/Core/Entity/EntityFormInterface.php Defines an interface for entity form classes.
EntityFormModeInterface core/lib/Drupal/Core/Entity/EntityFormModeInterface.php Provides an interface defining an entity form mode entity type.
EntityHandlerBase core/lib/Drupal/Core/Entity/EntityHandlerBase.php Provides a base class for entity handlers.
EntityHandlerInterface core/lib/Drupal/Core/Entity/EntityHandlerInterface.php Defines an interface for entity handlers.
EntityInterface core/lib/Drupal/Core/Entity/EntityInterface.php Defines a common interface for all entity objects.
EntityLastInstalledSchemaRepository core/lib/Drupal/Core/Entity/EntityLastInstalledSchemaRepository.php Provides a repository for installed entity definitions.
EntityLastInstalledSchemaRepositoryInterface core/lib/Drupal/Core/Entity/EntityLastInstalledSchemaRepositoryInterface.php Provides an interface for an installed entity definition repository.
EntityListBuilder core/lib/Drupal/Core/Entity/EntityListBuilder.php Defines a generic implementation to build a listing of entities.
EntityListBuilderInterface core/lib/Drupal/Core/Entity/EntityListBuilderInterface.php Defines an interface to build entity listings.
EntityMalformedException core/lib/Drupal/Core/Entity/EntityMalformedException.php Defines an exception thrown when a malformed entity is passed.
EntityPublishedInterface core/lib/Drupal/Core/Entity/EntityPublishedInterface.php Provides an interface for access to an entity's published state.
EntityPublishedTrait core/lib/Drupal/Core/Entity/EntityPublishedTrait.php Provides a trait for published status.
EntityRepository core/lib/Drupal/Core/Entity/EntityRepository.php Provides several mechanisms for retrieving entities.
EntityRepositoryInterface core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php Provides an interface for an entity repository.
EntityResolverManager core/lib/Drupal/Core/Entity/EntityResolverManager.php Sets the entity route parameter converter options automatically.
EntityStorageBase core/lib/Drupal/Core/Entity/EntityStorageBase.php A base entity storage class.
EntityStorageException core/lib/Drupal/Core/Entity/EntityStorageException.php Defines an exception thrown when storage operations fail.
EntityStorageInterface core/lib/Drupal/Core/Entity/EntityStorageInterface.php Defines the interface for entity storage classes.
EntityType core/lib/Drupal/Core/Entity/EntityType.php Provides an implementation of an entity type and its metadata.
EntityTypeBundleInfo core/lib/Drupal/Core/Entity/EntityTypeBundleInfo.php Provides discovery and retrieval of entity type bundles.
EntityTypeBundleInfoInterface core/lib/Drupal/Core/Entity/EntityTypeBundleInfoInterface.php Provides an interface for an entity type bundle info.
EntityTypeEvent core/lib/Drupal/Core/Entity/EntityTypeEvent.php Defines a base class for all entity type events.
EntityTypeEvents core/lib/Drupal/Core/Entity/EntityTypeEvents.php Contains all events thrown while handling entity types.
EntityTypeEventSubscriberTrait core/lib/Drupal/Core/Entity/EntityTypeEventSubscriberTrait.php Helper methods for EntityTypeListenerInterface.
EntityTypeInterface core/lib/Drupal/Core/Entity/EntityTypeInterface.php Provides an interface for an entity type and its metadata.
EntityTypeListener core/lib/Drupal/Core/Entity/EntityTypeListener.php Reacts to entity type CRUD on behalf of the Entity system.
EntityTypeListenerInterface core/lib/Drupal/Core/Entity/EntityTypeListenerInterface.php Defines an interface for reacting to entity type creation, deletion, and updates.
EntityTypeManager core/lib/Drupal/Core/Entity/EntityTypeManager.php Manages entity type plugin definitions.
EntityTypeManagerInterface core/lib/Drupal/Core/Entity/EntityTypeManagerInterface.php Provides an interface for entity type managers.
EntityTypeRepository core/lib/Drupal/Core/Entity/EntityTypeRepository.php Provides helper methods for loading entity types.
EntityTypeRepositoryInterface core/lib/Drupal/Core/Entity/EntityTypeRepositoryInterface.php Provides an interface for helper methods for loading entity types.
EntityViewBuilder core/lib/Drupal/Core/Entity/EntityViewBuilder.php Base class for entity view builders.
EntityViewBuilderInterface core/lib/Drupal/Core/Entity/EntityViewBuilderInterface.php Defines an interface for entity view builders.
EntityViewModeInterface core/lib/Drupal/Core/Entity/EntityViewModeInterface.php Provides an interface defining an entity view mode entity type.
EntityWithPluginCollectionInterface core/lib/Drupal/Core/Entity/EntityWithPluginCollectionInterface.php Provides an interface for an object using a plugin collection.
FieldableEntityInterface core/lib/Drupal/Core/Entity/FieldableEntityInterface.php Interface for entities having fields.
FieldableEntityStorageInterface core/lib/Drupal/Core/Entity/FieldableEntityStorageInterface.php A storage that supports entity types with field definitions.
HtmlEntityFormController core/lib/Drupal/Core/Entity/HtmlEntityFormController.php Wrapping controller for entity forms that serve as the main page body.
RevisionableContentEntityBase core/lib/Drupal/Core/Entity/RevisionableContentEntityBase.php Provides a content entity with extended support for revisions.
RevisionableEntityBundleInterface core/lib/Drupal/Core/Entity/RevisionableEntityBundleInterface.php Provides an interface defining a revisionable entity bundle.
RevisionableInterface core/lib/Drupal/Core/Entity/RevisionableInterface.php Provides methods for an entity to support revisions.
RevisionableStorageInterface core/lib/Drupal/Core/Entity/RevisionableStorageInterface.php A storage that supports revisionable entity types.
RevisionLogEntityTrait core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php Provides a trait for accessing revision logging and ownership information.
RevisionLogInterface core/lib/Drupal/Core/Entity/RevisionLogInterface.php Defines methods for an entity that supports revision logging and ownership.
SynchronizableEntityTrait core/lib/Drupal/Core/Entity/SynchronizableEntityTrait.php Provides a trait for accessing synchronization information.
SynchronizableInterface core/lib/Drupal/Core/Entity/SynchronizableInterface.php Defines methods for an entity that supports synchronization.
TranslatableInterface core/lib/Drupal/Core/Entity/TranslatableInterface.php Provides methods for an entity to support translation.
TranslatableRevisionableInterface core/lib/Drupal/Core/Entity/TranslatableRevisionableInterface.php Provides methods for an entity to support revision translation.

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