Problem/Motivation
There are a couple of places within modules where you want to provide generic labels for an entity type:
- If you want to add a single entry
- If you want to list multiple entries
- IF you want to list a known quantity of entries
While one label might work in english, it certainly doesn't work in other languages.
Proposed resolution
Add an explicit singular, plural and count label to entity types
Remaining tasks
User interface changes
API changes
3 new methods on EntityTypeInterface
:
getSingularLabel()
getPluralLabel()
getCountLabel()