public function 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 730
Class
- EntityType
- Provides an implementation of an entity type and its metadata.
Namespace
Drupal\Core\EntityCode
public function getLabel() { return $this->label; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityType.php/function/EntityType::getLabel/8.1.x