8.0.x EntityTypeInterface.php public EntityTypeInterface::id()
8.1.x EntityTypeInterface.php public EntityTypeInterface::id()
8.2.x EntityTypeInterface.php public EntityTypeInterface::id()

Gets the unique identifier of the entity type.

Return value

string The unique identifier of the entity type.

1 method overrides EntityTypeInterface::id()
EntityType::id in core/lib/Drupal/Core/Entity/EntityType.php
Gets the unique identifier of the entity type.

File

core/lib/Drupal/Core/Entity/EntityTypeInterface.php, line 56

Class

EntityTypeInterface
Provides an interface for an entity type and its metadata.

Namespace

Drupal\Core\Entity

Code

public function id();