Issue #2388863 by chx: Entity type is definition
parent
4b7a940b8a
commit
0a4aeec2e1
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue