function EntityType::getGroupLabel
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/EntityType.php \Drupal\Core\Entity\EntityType::getGroupLabel()
- 10 core/lib/Drupal/Core/Entity/EntityType.php \Drupal\Core\Entity\EntityType::getGroupLabel()
- 11.x core/lib/Drupal/Core/Entity/EntityType.php \Drupal\Core\Entity\EntityType::getGroupLabel()
Overrides EntityTypeInterface::getGroupLabel
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityType.php, line 856
Class
- EntityType
- Provides an implementation of an entity type and its metadata.
Namespace
Drupal\Core\EntityCode
public function getGroupLabel() {
return !empty($this->group_label) ? $this->group_label : $this->t('Other', [], [
'context' => 'Entity type group',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.