Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / chi-teck / drupal-code-generator / templates / d8 / module / configuration-entity / src / Entity / Example.php.twig
index e450f80bba2caac54dab29508967300b759c569d..785cfc3da922d7ea66502881779abd8318dbaa69 100644 (file)
@@ -13,6 +13,13 @@ use Drupal\{{ machine_name }}\{{ class_prefix }}Interface;
  * @ConfigEntityType(
  *   id = "{{ entity_type_id }}",
  *   label = @Translation("{{ entity_type_label }}"),
+ *   label_collection = @Translation("{{ entity_type_label|plural }}"),
+ *   label_singular = @Translation("{{ entity_type_label|lower }}"),
+ *   label_plural = @Translation("{{ entity_type_label|plural|lower }}"),
+ *   label_count = @PluralTranslation(
+ *     singular = "@count {{ entity_type_label|lower }}",
+ *     plural = "@count {{ entity_type_label|plural|lower }}",
+ *   ),
  *   handlers = {
  *     "list_builder" = "Drupal\{{ machine_name }}\{{ class_prefix }}ListBuilder",
  *     "form" = {