public function EntityInterface::entityType

Returns the type of the entity.

Return value

The type of the entity.

3 methods override EntityInterface::entityType()
Entity::entityType in drupal/core/lib/Drupal/Core/Entity/Entity.php
Implements \Drupal\Core\Entity\EntityInterface::entityType().
EntityBCDecorator::entityType in drupal/core/lib/Drupal/Core/Entity/EntityBCDecorator.php
Forwards the call to the decorated entity.
ViewUI::entityType in drupal/core/modules/views_ui/lib/Drupal/views_ui/ViewUI.php
Implements \Drupal\Core\Entity\EntityInterface::entityType().

File

drupal/core/lib/Drupal/Core/Entity/EntityInterface.php, line 105
Contains \Drupal\Core\Entity\EntityInterface.

Class

EntityInterface
Defines a common interface for all entity objects.

Namespace

Drupal\Core\Entity

Code

public function entityType();