protected property EntityStorageBase::$entityType
Information about the entity type.
The following code returns the same object:
\Drupal::entityManager()->getDefinition($this->entityTypeId)
Type: \Drupal\Core\Entity\EntityTypeInterface
File
- core/lib/Drupal/Core/Entity/EntityStorageBase.php, line 36
Class
- EntityStorageBase
- A base entity storage class.
Namespace
Drupal\Core\EntityCode
protected $entityType;
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityStorageBase.php/property/EntityStorageBase::entityType/8.1.x