diff core/modules/system/migrations/d7_menu.yml @ 14:1fec387a4317

Update Drupal core to 8.5.2 via Composer
author Chris Cannam
date Mon, 23 Apr 2018 09:46:53 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/core/modules/system/migrations/d7_menu.yml	Mon Apr 23 09:46:53 2018 +0100
@@ -0,0 +1,21 @@
+id: d7_menu
+label: Menus
+migration_tags:
+  - Drupal 7
+  - Configuration
+source:
+  plugin: menu
+process:
+  id:
+    plugin: static_map
+    bypass: true
+    source: menu_name
+    map:
+      main-menu: main
+      management: admin
+      navigation: tools
+      user-menu: account
+  label: title
+  description: description
+destination:
+  plugin: entity:menu