function EntityTypeInterface::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.
Deprecated
in drupal:8.8.0 and is removed from drupal:9.0.0. Instead, you should call getSingularLabel(). See https://www.drupal.org/node/3075567
See also
\Drupal\Core\Entity\EntityTypeInterface::getLabel()
1 method overrides EntityTypeInterface::getLowercaseLabel()
- EntityType::getLowercaseLabel in core/
lib/ Drupal/ Core/ Entity/ EntityType.php - Gets the lowercase form of the human-readable entity type name.
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityTypeInterface.php, line 675
Class
- EntityTypeInterface
- Provides an interface for an entity type and its metadata.
Namespace
Drupal\Core\EntityCode
public function getLowercaseLabel();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.