Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / tour / src / Entity / Tour.php
index 9a8e1666ac9630408cbda578d52935965a65a578..feca0585b010e35b056dc584000ae3be98b9b1c5 100644 (file)
@@ -12,6 +12,13 @@ use Drupal\tour\TourInterface;
  * @ConfigEntityType(
  *   id = "tour",
  *   label = @Translation("Tour"),
+ *   label_collection = @Translation("Tours"),
+ *   label_singular = @Translation("tour"),
+ *   label_plural = @Translation("tours"),
+ *   label_count = @PluralTranslation(
+ *     singular = "@count tour",
+ *     plural = "@count tours",
+ *   ),
  *   handlers = {
  *     "view_builder" = "Drupal\tour\TourViewBuilder",
  *     "access" = "Drupal\tour\TourAccessControlHandler",