tour.tour.tour-test-legacy.yml

Same filename in this branch
  1. 9 core/modules/tour/tests/tour_legacy_test/config/install/tour.tour.tour-test-legacy.yml
core/modules/tour/tests/fixtures/legacy_config/tour.tour.tour-test-legacy.yml
1 string reference to 'tour.tour.tour-test-legacy'
TourTipDeprecatedConfigModuleInstallTest::testModuleInstall in core/modules/tour/tests/src/Functional/Update/TourTipDeprecatedConfigModuleInstallTest.php
Test ensuring that tour config is updated on config import.

File

core/modules/tour/tests/fixtures/legacy_config/tour.tour.tour-test-legacy.yml

View source
  1. id: tour-test-legacy
  2. module: tour_test
  3. label: 'Tour test Legacy'
  4. langcode: en
  5. routes:
  6. - route_name: tour_test.legacy
  7. tips:
  8. tour-test-legacy-1:
  9. id: tour-test-legacy-1
  10. plugin: text_legacy
  11. label: 'The first tip'
  12. body: 'Is <a href="[site:url]">[site:name]</a> always the best dressed?'
  13. weight: 1
  14. attributes:
  15. data-id: tour-test-1
  16. tour-test-legacy-3:
  17. id: tour-test-legacy-3
  18. plugin: image_legacy
  19. label: 'The awesome image'
  20. url: 'http://local/image.png'
  21. weight: 1
  22. tour-test-legacy-6:
  23. id: tour-test-legacy-6
  24. plugin: text_legacy
  25. label: 'Im a list'
  26. body: '<p>Im all these things:</p><ul><li>Modal</li><li>Awesome</li></ul>'
  27. weight: 6
  28. attributes:
  29. data-class: tour-test-5

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.