comparison core/modules/tour/src/Entity/Tour.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
10 * Defines the configured tour entity. 10 * Defines the configured tour entity.
11 * 11 *
12 * @ConfigEntityType( 12 * @ConfigEntityType(
13 * id = "tour", 13 * id = "tour",
14 * label = @Translation("Tour"), 14 * label = @Translation("Tour"),
15 * label_collection = @Translation("Tours"),
16 * label_singular = @Translation("tour"),
17 * label_plural = @Translation("tours"),
18 * label_count = @PluralTranslation(
19 * singular = "@count tour",
20 * plural = "@count tours",
21 * ),
15 * handlers = { 22 * handlers = {
16 * "view_builder" = "Drupal\tour\TourViewBuilder", 23 * "view_builder" = "Drupal\tour\TourViewBuilder",
17 * "access" = "Drupal\tour\TourAccessControlHandler", 24 * "access" = "Drupal\tour\TourAccessControlHandler",
18 * }, 25 * },
19 * admin_permission = "administer site configuration", 26 * admin_permission = "administer site configuration",