Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Entity/EntityType.php \Drupal\Core\Entity\EntityType::label_singular
  2. 9 core/lib/Drupal/Core/Entity/EntityType.php \Drupal\Core\Entity\EntityType::label_singular

The indefinite singular name of the type.

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

See also

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

File

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

Class

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

Namespace

Drupal\Core\Entity

Code

protected $label_singular = '';