tour.tour.tour-test-legacy.yml

Same filename in this branch
  1. 9 core/modules/tour/tests/fixtures/legacy_config/tour.tour.tour-test-legacy.yml
core/modules/tour/tests/tour_legacy_test/config/install/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/tour_legacy_test/config/install/tour.tour.tour-test-legacy.yml

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

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