X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Faggregator%2Fsrc%2FEntity%2FItem.php;fp=web%2Fcore%2Fmodules%2Faggregator%2Fsrc%2FEntity%2FItem.php;h=205252542fdc9aaf11b53afc3e45972a7621c70c;hp=ef0c6d245189ca7eb5a847ea835f4431d51cbbda;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/web/core/modules/aggregator/src/Entity/Item.php b/web/core/modules/aggregator/src/Entity/Item.php index ef0c6d245..205252542 100644 --- a/web/core/modules/aggregator/src/Entity/Item.php +++ b/web/core/modules/aggregator/src/Entity/Item.php @@ -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. */