Mercurial > hg > cmmr2012-drupal-site
comparison core/modules/contact/src/Entity/ContactForm.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 |
---|---|
10 * Defines the contact form entity. | 10 * Defines the contact form entity. |
11 * | 11 * |
12 * @ConfigEntityType( | 12 * @ConfigEntityType( |
13 * id = "contact_form", | 13 * id = "contact_form", |
14 * label = @Translation("Contact form"), | 14 * label = @Translation("Contact form"), |
15 * label_collection = @Translation("Contact forms"), | |
16 * label_singular = @Translation("contact form"), | |
17 * label_plural = @Translation("contact forms"), | |
18 * label_count = @PluralTranslation( | |
19 * singular = "@count contact form", | |
20 * plural = "@count contact forms", | |
21 * ), | |
15 * handlers = { | 22 * handlers = { |
16 * "access" = "Drupal\contact\ContactFormAccessControlHandler", | 23 * "access" = "Drupal\contact\ContactFormAccessControlHandler", |
17 * "list_builder" = "Drupal\contact\ContactFormListBuilder", | 24 * "list_builder" = "Drupal\contact\ContactFormListBuilder", |
18 * "form" = { | 25 * "form" = { |
19 * "add" = "Drupal\contact\ContactFormEditForm", | 26 * "add" = "Drupal\contact\ContactFormEditForm", |