8.2.x EntityType.php public EntityType::getLabel()
8.0.x EntityType.php public EntityType::getLabel()
8.1.x EntityType.php public EntityType::getLabel()
8.3.x EntityType.php public EntityType::getLabel()

Gets the human-readable name of the entity type.

Return value

string The human-readable name of the entity type.

Overrides EntityTypeInterface::getLabel

1 call to EntityType::getLabel()
EntityType::getLowercaseLabel in core/lib/Drupal/Core/Entity/EntityType.php
Gets the lowercase form of the human-readable entity type name.

File

core/lib/Drupal/Core/Entity/EntityType.php, line 731

Class

EntityType
Provides an implementation of an entity type and its metadata.

Namespace

Drupal\Core\Entity

Code

public function getLabel() {
  return $this->label;
}