EntityType::$label_count

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Entity/EntityType.php \Drupal\Core\Entity\EntityType::label_count
  2. 10 core/lib/Drupal/Core/Entity/EntityType.php \Drupal\Core\Entity\EntityType::label_count
  3. 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".

Type: string|\Drupal\Core\StringTranslation\TranslatableMarkup

See also

\Drupal\Core\Entity\EntityTypeInterface::getCountLabel()

File

core/lib/Drupal/Core/Entity/EntityType.php, line 221

Class

EntityType
Provides an implementation of an entity type and its metadata.

Namespace

Drupal\Core\Entity

Code

protected $label_count = [];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.