You are here

public function EntityType::getBundleLabel in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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\Entity

Code

public function getBundleLabel() {
  return (string) $this->bundle_label;
}