You are here

public function EntityStorageInterface::getEntityType in Drupal 10

Same name and namespace in other branches
  1. 8 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 231

Class

EntityStorageInterface
Defines the interface for entity storage classes.

Namespace

Drupal\Core\Entity

Code

public function getEntityType();