You are here

public function EntityType::getLabel in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Entity/EntityType.php \Drupal\Core\Entity\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 712
Contains \Drupal\Core\Entity\EntityType.

Class

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

Namespace

Drupal\Core\Entity

Code

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