Mercurial > hg > isophonics-drupal-site
diff core/modules/views/src/Entity/View.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | c2387f117808 |
children |
line wrap: on
line diff
--- a/core/modules/views/src/Entity/View.php Tue Jul 10 15:07:59 2018 +0100 +++ b/core/modules/views/src/Entity/View.php Thu Feb 28 13:21:36 2019 +0000 @@ -19,6 +19,14 @@ * @ConfigEntityType( * id = "view", * label = @Translation("View", context = "View entity type"), + * label_collection = @Translation("Views", context = "View entity type"), + * label_singular = @Translation("view", context = "View entity type"), + * label_plural = @Translation("views", context = "View entity type"), + * label_count = @PluralTranslation( + * singular = "@count view", + * plural = "@count views", + * context = "View entity type", + * ), * admin_permission = "administer views", * entity_keys = { * "id" = "id", @@ -423,7 +431,7 @@ 'position' => 0, 'display_options' => [], ], - ] + ], ]; }