Mercurial > hg > cmmr2012-drupal-site
comparison core/modules/contact/src/Entity/Message.php @ 4:a9cd425dd02b
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:11:55 +0000 |
parents | c75dbcec494b |
children |
comparison
equal
deleted
inserted
replaced
3:307d7a7fd348 | 4:a9cd425dd02b |
---|---|
11 * Defines the contact message entity. | 11 * Defines the contact message entity. |
12 * | 12 * |
13 * @ContentEntityType( | 13 * @ContentEntityType( |
14 * id = "contact_message", | 14 * id = "contact_message", |
15 * label = @Translation("Contact message"), | 15 * label = @Translation("Contact message"), |
16 * label_collection = @Translation("Contact messages"), | |
17 * label_singular = @Translation("contact message"), | |
18 * label_plural = @Translation("contact messages"), | |
19 * label_count = @PluralTranslation( | |
20 * singular = "@count contact message", | |
21 * plural = "@count contact messages", | |
22 * ), | |
16 * bundle_label = @Translation("Contact form"), | 23 * bundle_label = @Translation("Contact form"), |
17 * handlers = { | 24 * handlers = { |
18 * "access" = "Drupal\contact\ContactMessageAccessControlHandler", | 25 * "access" = "Drupal\contact\ContactMessageAccessControlHandler", |
19 * "storage" = "Drupal\Core\Entity\ContentEntityNullStorage", | 26 * "storage" = "Drupal\Core\Entity\ContentEntityNullStorage", |
20 * "view_builder" = "Drupal\contact\MessageViewBuilder", | 27 * "view_builder" = "Drupal\contact\MessageViewBuilder", |