diff core/modules/aggregator/src/Entity/Item.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 4c8ae668cc8c
children
line wrap: on
line diff
--- a/core/modules/aggregator/src/Entity/Item.php	Tue Jul 10 15:07:59 2018 +0100
+++ b/core/modules/aggregator/src/Entity/Item.php	Thu Feb 28 13:21:36 2019 +0000
@@ -16,6 +16,13 @@
  * @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 @@
     return Feed::load($this->getFeedId())->getCacheTags();
   }
 
-
   /**
    * Entity URI callback.
    */