Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / modules / search / migrations / search_page.yml
diff --git a/web/core/modules/search/migrations/search_page.yml b/web/core/modules/search/migrations/search_page.yml
new file mode 100644 (file)
index 0000000..cf46500
--- /dev/null
@@ -0,0 +1,28 @@
+id: search_page
+label: Search page configuration
+migration_tags:
+  - Drupal 6
+  - Drupal 7
+  - Configuration
+source:
+  plugin: variable
+  variables:
+    - node_rank_comments
+    - node_rank_promote
+    - node_rank_recent
+    - node_rank_relevance
+    - node_rank_sticky
+    - node_rank_views
+  constants:
+    id: node_search
+    path: node
+    plugin: node_search
+  source_module: search
+process:
+  id: 'constants/id'
+  path: 'constants/path'
+  plugin: 'constants/plugin'
+  'configuration/rankings':
+    plugin: search_configuration_rankings
+destination:
+  plugin: entity:search_page