Defines the configured tour entity.
Plugin annotation
@ConfigEntityType(
id = "tour",
label = @Translation("Tour"),
handlers = {
"view_builder" = "Drupal\tour\TourViewBuilder"
},
entity_keys = {
"id" = "id",
"label" = "label"
},
config_export = {
"id",
"label",
"module",
"routes",
"tips",
},
lookup_keys = {
"routes.*.route_name"
}
)
Hierarchy
class \Drupal\Core\Entity\Entity implements EntityInterface uses RefinableCacheableDependencyTrai