tour-2.0.x-dev/config/optional/tour.tour.tour_edit.yml
config/optional/tour.tour.tour_edit.yml
langcode: en
status: true
dependencies:
enforced:
module:
- tour
id: tour_edit
label: 'Edit tour'
routes:
-
route_name: entity.tour.edit_form
tips:
tour_page:
id: tour_page
plugin: text
label: 'Tour edit'
weight: -100
position: top
selector: null
body: '<p>On this page you edit a tour.</p><p>Note that after saving a tour you need to make sure the tour file is copied for later use into a module config directory or into an issue queue.</p>'
tour_label:
id: tour_label
plugin: text
label: Label
weight: -99
position: bottom
selector: '#edit-label'
body: '<p>The label is for administrative purposed. Used by Tour UI to list a Tour.</p>'
module:
id: module
plugin: text
label: Module
weight: -98
position: bottom
selector: '#edit-module'
body: 'This is for declare a module dependency. The configuration system removes this tour when its module is uninstalled.'
tour_routes:
id: tour_routes
plugin: text
label: Routes
weight: -97
position: bottom
selector: '#edit-routes'
body: '<p>Here you define the route or routes a Tour should be displayed.</p><p>You may use <a href="https://www.drupal.org/project/devel">Devel module</a> to find the route.</p>'
tour_tips:
id: tour_tips
plugin: text
label: Tips
weight: -96
position: top
selector: '#edit-tips'
body: '<p>These are the tips.</p>'
