EntityType::$label_count
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Entity/EntityType.php \Drupal\Core\Entity\EntityType::label_count
- 10 core/lib/Drupal/Core/Entity/EntityType.php \Drupal\Core\Entity\EntityType::label_count
- 11.x core/lib/Drupal/Core/Entity/EntityType.php \Drupal\Core\Entity\EntityType::label_count
A definite singular/plural name of the type.
Needed keys: "singular" and "plural". Can also have key: "context". @code [ 'singular' => '@count entity', 'plural' => '@count entities', 'context' => 'Entity context', ]
Type: string[]
See also
\Drupal\Core\Entity\EntityTypeInterface::getCountLabel()
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityType.php, line 215
Class
- EntityType
- Provides an implementation of an entity type and its metadata.
Namespace
Drupal\Core\EntityCode
protected $label_count = [];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.