EntityType::$label
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Entity/EntityType.php \Drupal\Core\Entity\EntityType::label
- 10 core/lib/Drupal/Core/Entity/EntityType.php \Drupal\Core\Entity\EntityType::label
- 11.x core/lib/Drupal/Core/Entity/EntityType.php \Drupal\Core\Entity\EntityType::label
The human-readable name of the type.
Type: string|\Drupal\Core\StringTranslation\TranslatableMarkup
See also
\Drupal\Core\Entity\EntityTypeInterface::getLabel()
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityType.php, line 171
Class
- EntityType
- Provides an implementation of an entity type and its metadata.
Namespace
Drupal\Core\EntityCode
protected $label = '';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.