EntityType::getLabel

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

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;
}
doc_Drupal
2016-10-29 09:08:00
Comments
Leave a Comment

Please login to continue.