function EntityType::getLabel
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/EntityType.php \Drupal\Core\Entity\EntityType::getLabel()
- 10 core/lib/Drupal/Core/Entity/EntityType.php \Drupal\Core\Entity\EntityType::getLabel()
- 11.x core/lib/Drupal/Core/Entity/EntityType.php \Drupal\Core\Entity\EntityType::getLabel()
Overrides EntityTypeInterface::getLabel
4 calls to EntityType::getLabel()
- EntityType::getBundleLabel in core/
lib/ Drupal/ Core/ Entity/ EntityType.php - Gets the label for the bundle.
- EntityType::getCollectionLabel in core/
lib/ Drupal/ Core/ Entity/ EntityType.php - Gets the uppercase plural form of the name of the entity type.
- EntityType::getLowercaseLabel in core/
lib/ Drupal/ Core/ Entity/ EntityType.php - Gets the lowercase form of the human-readable entity type name.
- EntityType::getSingularLabel in core/
lib/ Drupal/ Core/ Entity/ EntityType.php - Gets the indefinite singular form of the name of the entity type.
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityType.php, line 772
Class
- EntityType
- Provides an implementation of an entity type and its metadata.
Namespace
Drupal\Core\EntityCode
public function getLabel() {
return $this->label;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.