You are here

public function EntityInterface::getEntityType in Drupal 10

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

Gets the entity type definition.

Return value

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

1 method overrides EntityInterface::getEntityType()
ViewUI::getEntityType in core/modules/views_ui/src/ViewUI.php
Gets the entity type definition.

File

core/lib/Drupal/Core/Entity/EntityInterface.php, line 345

Class

EntityInterface
Defines a common interface for all entity objects.

Namespace

Drupal\Core\Entity

Code

public function getEntityType();