X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fcontact%2Fsrc%2FEntity%2FMessage.php;h=f41d9f106f058b552a441ab2a1db877e301e3cdd;hp=b1086602d8f074a3665bb0b1d826e577a35b108f;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/web/core/modules/contact/src/Entity/Message.php b/web/core/modules/contact/src/Entity/Message.php index b1086602d..f41d9f106 100644 --- a/web/core/modules/contact/src/Entity/Message.php +++ b/web/core/modules/contact/src/Entity/Message.php @@ -13,6 +13,13 @@ use Drupal\Core\Field\BaseFieldDefinition; * @ContentEntityType( * id = "contact_message", * label = @Translation("Contact message"), + * label_collection = @Translation("Contact messages"), + * label_singular = @Translation("contact message"), + * label_plural = @Translation("contact messages"), + * label_count = @PluralTranslation( + * singular = "@count contact message", + * plural = "@count contact messages", + * ), * bundle_label = @Translation("Contact form"), * handlers = { * "access" = "Drupal\contact\ContactMessageAccessControlHandler",