Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / aggregator / src / Entity / Item.php
index ef0c6d245189ca7eb5a847ea835f4431d51cbbda..205252542fdc9aaf11b53afc3e45972a7621c70c 100644 (file)
@@ -16,6 +16,13 @@ use Drupal\Core\Url;
  * @ContentEntityType(
  *   id = "aggregator_item",
  *   label = @Translation("Aggregator feed item"),
+ *   label_collection = @Translation("Aggregator feed items"),
+ *   label_singular = @Translation("aggregator feed item"),
+ *   label_plural = @Translation("aggregator feed items"),
+ *   label_count = @PluralTranslation(
+ *     singular = "@count aggregator feed item",
+ *     plural = "@count aggregator feed items",
+ *   ),
  *   handlers = {
  *     "storage" = "Drupal\aggregator\ItemStorage",
  *     "storage_schema" = "Drupal\aggregator\ItemStorageSchema",
@@ -232,7 +239,6 @@ class Item extends ContentEntityBase implements ItemInterface {
     return Feed::load($this->getFeedId())->getCacheTags();
   }
 
-
   /**
    * Entity URI callback.
    */