You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
1.2 KiB

4 years ago
  1. uuid: 566e57d9-c337-4290-8014-e211753b39e7
  2. langcode: en
  3. status: true
  4. dependencies: { }
  5. id: upgrade_d7_search_page
  6. class: Drupal\migrate\Plugin\Migration
  7. field_plugin_method: null
  8. cck_plugin_method: null
  9. migration_tags:
  10. - 'Drupal 7'
  11. - Configuration
  12. migration_group: migrate_drupal_7
  13. label: 'Search page configuration'
  14. source:
  15. plugin: d7_search_page
  16. variables:
  17. - node_rank_comments
  18. - node_rank_promote
  19. - node_rank_relevance
  20. - node_rank_sticky
  21. - node_rank_views
  22. constants:
  23. suffix: _search
  24. process:
  25. module:
  26. -
  27. plugin: get
  28. source: module
  29. module_exists:
  30. -
  31. plugin: skip_on_empty
  32. method: row
  33. source: module_exists
  34. status:
  35. -
  36. plugin: static_map
  37. source: status
  38. map:
  39. node: true
  40. user: true
  41. default_value: false
  42. id:
  43. -
  44. plugin: concat
  45. source:
  46. - module
  47. - constants/suffix
  48. plugin:
  49. -
  50. plugin: concat
  51. source:
  52. - module
  53. - constants/suffix
  54. path:
  55. -
  56. plugin: get
  57. source: module
  58. configuration/rankings:
  59. -
  60. plugin: search_configuration_rankings
  61. destination:
  62. plugin: 'entity:search_page'
  63. migration_dependencies:
  64. required: { }
  65. optional: { }