public EntityType::getPluralLabel()
Gets the plural label of the entity type.
string The plural label.
Overrides EntityTypeInterface::getPluralLabel
public function getPluralLabel() { if (empty($this->label_plural)) { $lowercase_label = $this->getLowercaseLabel(); $this->label_plural = new TranslatableMarkup('@label entities', ['@label' => $lowercase_label], [], $this->getStringTranslation()); } return $this->label_plural; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityType.php/function/EntityType::getPluralLabel/8.1.x