diff --git a/core/lib/Drupal/Core/Entity/EntityStorageBase.php b/core/lib/Drupal/Core/Entity/EntityStorageBase.php index 4333c472938..d4daa677e30 100644 --- a/core/lib/Drupal/Core/Entity/EntityStorageBase.php +++ b/core/lib/Drupal/Core/Entity/EntityStorageBase.php @@ -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;