EntityType::getBundleLabel

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;
}
doc_Drupal
2016-10-29 09:07:57
Comments
Leave a Comment

Please login to continue.