public 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 681
Class
- EntityType
- Provides an implementation of an entity type and its metadata.
Namespace
Drupal\Core\Entity
Code
public function getBundleLabel() { return (string) $this->bundle_label; }
Please login to continue.