8.3.x EntityType.php public EntityType::getLowercaseLabel()
8.0.x EntityType.php public EntityType::getLowercaseLabel()
8.1.x EntityType.php public EntityType::getLowercaseLabel()
8.2.x EntityType.php public EntityType::getLowercaseLabel()
8.4.x EntityType.php EntityType::getLowercaseLabel()

Gets the lowercase form of the human-readable entity type name.

Return value

string The lowercase form of the human-readable entity type name.

Overrides EntityTypeInterface::getLowercaseLabel

3 calls to EntityType::getLowercaseLabel()
EntityType::getCountLabel in core/lib/Drupal/Core/Entity/EntityType.php
Gets the count label of the entity type
EntityType::getPluralLabel in core/lib/Drupal/Core/Entity/EntityType.php
Gets the plural label of the entity type.
EntityType::getSingularLabel in core/lib/Drupal/Core/Entity/EntityType.php
Gets the singular label of the entity type.

File

core/lib/Drupal/Core/Entity/EntityType.php, line 738

Class

EntityType
Provides an implementation of an entity type and its metadata.

Namespace

Drupal\Core\Entity

Code

public function getLowercaseLabel() {
  return Unicode::strtolower($this->getLabel());
}