8.2.x EntityTypeInterface.php public EntityTypeInterface::getSingularLabel()
8.1.x EntityTypeInterface.php public EntityTypeInterface::getSingularLabel()
8.3.x EntityTypeInterface.php public EntityTypeInterface::getSingularLabel()

Gets the singular label of the entity type.

Return value

string The singular label.

1 method overrides EntityTypeInterface::getSingularLabel()
EntityType::getSingularLabel in core/lib/Drupal/Core/Entity/EntityType.php
Gets the singular label of the entity type.

File

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

Class

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

Namespace

Drupal\Core\Entity

Code

public function getSingularLabel();