Mercurial > hg > isophonics-drupal-site
comparison core/modules/contact/src/Entity/Message.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 4c8ae668cc8c |
children |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
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", |