Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / block / src / Entity / Block.php
index a0bbd25c889bad2953d2540c6531fedb2c864253..ece8de38abb9aed463573d3f48c67ce1e8998f08 100644 (file)
@@ -17,6 +17,13 @@ use Drupal\Core\Entity\EntityStorageInterface;
  * @ConfigEntityType(
  *   id = "block",
  *   label = @Translation("Block"),
+ *   label_collection = @Translation("Blocks"),
+ *   label_singular = @Translation("block"),
+ *   label_plural = @Translation("blocks"),
+ *   label_count = @PluralTranslation(
+ *     singular = "@count block",
+ *     plural = "@count blocks",
+ *   ),
  *   handlers = {
  *     "access" = "Drupal\block\BlockAccessControlHandler",
  *     "view_builder" = "Drupal\block\BlockViewBuilder",