8.3.x EntityInterface.php public EntityInterface::getEntityType()
8.0.x EntityInterface.php public EntityInterface::getEntityType()
8.1.x EntityInterface.php public EntityInterface::getEntityType()
8.2.x EntityInterface.php public EntityInterface::getEntityType()
8.4.x EntityInterface.php public EntityInterface::getEntityType()

Gets the entity type definition.

Return value

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

Overrides EntityInterface::getEntityType

3 methods override EntityInterface::getEntityType()
Entity::getEntityType in core/lib/Drupal/Core/Entity/Entity.php
Gets the entity type definition.
EntityInterface::getEntityType in core/lib/Drupal/Core/Entity/EntityInterface.php
Gets the entity type definition.
ViewUI::getEntityType in core/modules/views_ui/src/ViewUI.php
Gets the entity type definition.

File

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

Class

EntityInterface
Defines a common interface for all entity objects.

Namespace

Drupal\Core\Entity

Code

public function getEntityType();