public function EntityType::getBundleLabel in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/EntityType.php \Drupal\Core\Entity\EntityType::getBundleLabel()
Gets the label for the bundle.
Return value
string|null The bundle label, or NULL if none exists.
Overrides EntityTypeInterface::getBundleLabel
File
- core/
lib/ Drupal/ Core/ Entity/ EntityType.php, line 662 - Contains \Drupal\Core\Entity\EntityType.
Class
- EntityType
- Provides an implementation of an entity type and its metadata.
Namespace
Drupal\Core\EntityCode
public function getBundleLabel() {
return (string) $this->bundle_label;
}