Update to drupal 8.0.0-rc1. For more information, see https://www.drupal.org/node/2582663
This commit is contained in:
parent
eb34d130a8
commit
f32e58e4b1
8476 changed files with 211648 additions and 170042 deletions
26
core/modules/shortcut/migration_templates/d7_shortcut.yml
Normal file
26
core/modules/shortcut/migration_templates/d7_shortcut.yml
Normal file
|
@ -0,0 +1,26 @@
|
|||
id: d7_shortcut
|
||||
label: Shortcut links
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
source:
|
||||
plugin: d7_shortcut
|
||||
constants:
|
||||
uri_scheme: 'internal:/'
|
||||
process:
|
||||
shortcut_set:
|
||||
plugin: migration
|
||||
migration: d7_shortcut_set
|
||||
source: menu_name
|
||||
title: link_title
|
||||
weight: weight
|
||||
link:
|
||||
plugin: concat
|
||||
source:
|
||||
- 'constants/uri_scheme'
|
||||
- link_path
|
||||
destination:
|
||||
plugin: entity:shortcut
|
||||
migration_dependencies:
|
||||
required:
|
||||
- d7_shortcut_set
|
||||
- d7_menu_links
|
|
@ -0,0 +1,20 @@
|
|||
id: d7_shortcut_set
|
||||
label: Shortcut sets
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
source:
|
||||
plugin: d7_shortcut_set
|
||||
process:
|
||||
id:
|
||||
-
|
||||
plugin: static_map
|
||||
bypass: true
|
||||
source: set_name
|
||||
map:
|
||||
shortcut-set-1: default
|
||||
-
|
||||
plugin: machine_name
|
||||
field: id
|
||||
label: title
|
||||
destination:
|
||||
plugin: entity:shortcut_set
|
|
@ -0,0 +1,25 @@
|
|||
id: d7_shortcut_set_users
|
||||
label: Shortcut set user mapping
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
source:
|
||||
plugin: d7_shortcut_set_users
|
||||
process:
|
||||
uid:
|
||||
-
|
||||
plugin: migration
|
||||
migration: d7_user
|
||||
source: uid
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: row
|
||||
set_name:
|
||||
plugin: migration
|
||||
migration: d7_shortcut_set
|
||||
source: set_name
|
||||
destination:
|
||||
plugin: shortcut_set_users
|
||||
migration_dependencies:
|
||||
required:
|
||||
- d7_shortcut_set
|
||||
- d7_user
|
Reference in a new issue