Update Composer, update everything
This commit is contained in:
parent
ea3e94409f
commit
dda5c284b6
19527 changed files with 1135420 additions and 351004 deletions
27
web/core/modules/shortcut/migrations/d7_shortcut.yml
Normal file
27
web/core/modules/shortcut/migrations/d7_shortcut.yml
Normal file
|
@ -0,0 +1,27 @@
|
|||
id: d7_shortcut
|
||||
label: Shortcut links
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Content
|
||||
source:
|
||||
plugin: d7_shortcut
|
||||
constants:
|
||||
uri_scheme: 'internal:/'
|
||||
process:
|
||||
shortcut_set:
|
||||
plugin: migration_lookup
|
||||
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
|
21
web/core/modules/shortcut/migrations/d7_shortcut_set.yml
Normal file
21
web/core/modules/shortcut/migrations/d7_shortcut_set.yml
Normal file
|
@ -0,0 +1,21 @@
|
|||
id: d7_shortcut_set
|
||||
label: Shortcut sets
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
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,26 @@
|
|||
id: d7_shortcut_set_users
|
||||
label: Shortcut set user mapping
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
source:
|
||||
plugin: d7_shortcut_set_users
|
||||
process:
|
||||
uid:
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: d7_user
|
||||
source: uid
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: row
|
||||
set_name:
|
||||
plugin: migration_lookup
|
||||
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