Issue #2388863 by chx: Entity type is definition

8.0.x
Alex Pott 2014-12-11 18:25:10 +01:00
parent 4b7a940b8a
commit 0a4aeec2e1
1 changed files with 5 additions and 0 deletions

View File

@ -32,6 +32,11 @@ abstract class EntityStorageBase extends EntityHandlerBase implements EntityStor
/**
* Information about the entity type.
*
* The following code returns the same object:
* @code
* \Drupal::entityManager()->getDefinition($this->entityTypeId)
* @endcode
*
* @var \Drupal\Core\Entity\EntityTypeInterface
*/
protected $entityType;