Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Entity/EntityStorageInterface.php \Drupal\Core\Entity\EntityStorageInterface::getEntityType()
  2. 9 core/lib/Drupal/Core/Entity/EntityStorageInterface.php \Drupal\Core\Entity\EntityStorageInterface::getEntityType()

Gets the entity type definition.

Return value

\Drupal\Core\Entity\EntityTypeInterface Entity type definition.

1 method overrides EntityStorageInterface::getEntityType()
EntityStorageBase::getEntityType in core/lib/Drupal/Core/Entity/EntityStorageBase.php
Gets the entity type definition.

File

core/lib/Drupal/Core/Entity/EntityStorageInterface.php, line 234

Class

EntityStorageInterface
Defines the interface for entity storage classes.

Namespace

Drupal\Core\Entity

Code

public function getEntityType();