public EntityType::getPluralLabel()
Gets the plural label of the entity type.
Return value
string The plural label.
Overrides EntityTypeInterface::getPluralLabel
File
- core/lib/Drupal/Core/Entity/EntityType.php, line 756
Class
- EntityType
- Provides an implementation of an entity type and its metadata.
Namespace
Drupal\Core\Entity
Code
1 2 3 4 5 6 7 | 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; } |
Please login to continue.