Returns the type of the entity.
Return value
The type of the entity.
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();