EntityStorageBase::$entityType

Information about the entity type.

The following code returns the same object:

1
\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\Entity

Code

1
protected $entityType;
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.