X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Ffile%2Fsrc%2FEntity%2FFile.php;h=33f6d744cc2b36e980a6ea4588aad9d74c403aaa;hb=5b8bb166bfa98770daef9de5c127fc2e6ef02340;hp=4060b773eed13db4ec5bb687f2160033c0551129;hpb=af6d1fb995500ae68849458ee10d66abbdcfb252;p=yaffs-website diff --git a/web/core/modules/file/src/Entity/File.php b/web/core/modules/file/src/Entity/File.php index 4060b773e..33f6d744c 100644 --- a/web/core/modules/file/src/Entity/File.php +++ b/web/core/modules/file/src/Entity/File.php @@ -18,6 +18,13 @@ use Drupal\user\UserInterface; * @ContentEntityType( * id = "file", * label = @Translation("File"), + * label_collection = @Translation("Files"), + * label_singular = @Translation("file"), + * label_plural = @Translation("files"), + * label_count = @PluralTranslation( + * singular = "@count file", + * plural = "@count files", + * ), * handlers = { * "storage" = "Drupal\file\FileStorage", * "storage_schema" = "Drupal\file\FileStorageSchema",