mirror of
https://github.com/tag1consulting/d7_to_d10_migration.git
synced 2024-11-09 18:33:25 +00:00
Add upgrade_d7_node_title_label configuration migration
Copied from ref_migrations folder
This commit is contained in:
parent
ab96909d98
commit
c3923a5c44
1 changed files with 54 additions and 0 deletions
|
@ -0,0 +1,54 @@
|
||||||
|
uuid: bd82e607-d0d8-46b6-b741-5f8fa8628469
|
||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies: { }
|
||||||
|
id: upgrade_d7_node_title_label
|
||||||
|
class: Drupal\migrate\Plugin\Migration
|
||||||
|
field_plugin_method: null
|
||||||
|
cck_plugin_method: null
|
||||||
|
migration_tags:
|
||||||
|
- 'Drupal 7'
|
||||||
|
- Configuration
|
||||||
|
migration_group: migrate_drupal_7
|
||||||
|
label: 'Node title label'
|
||||||
|
source:
|
||||||
|
plugin: d7_node_type
|
||||||
|
constants:
|
||||||
|
entity_type: node
|
||||||
|
field_name: title
|
||||||
|
process:
|
||||||
|
label:
|
||||||
|
-
|
||||||
|
plugin: static_map
|
||||||
|
source: title_label
|
||||||
|
bypass: true
|
||||||
|
map:
|
||||||
|
Title: 0
|
||||||
|
-
|
||||||
|
plugin: skip_on_empty
|
||||||
|
method: row
|
||||||
|
entity_type:
|
||||||
|
-
|
||||||
|
plugin: get
|
||||||
|
source: constants/entity_type
|
||||||
|
-
|
||||||
|
plugin: static_map
|
||||||
|
map:
|
||||||
|
field_collection_item: paragraph
|
||||||
|
paragraphs_item: paragraph
|
||||||
|
bypass: true
|
||||||
|
bundle:
|
||||||
|
-
|
||||||
|
plugin: get
|
||||||
|
source: type
|
||||||
|
field_name:
|
||||||
|
-
|
||||||
|
plugin: get
|
||||||
|
source: constants/field_name
|
||||||
|
destination:
|
||||||
|
plugin: 'entity:base_field_override'
|
||||||
|
migration_dependencies:
|
||||||
|
required:
|
||||||
|
- upgrade_d7_node_type
|
||||||
|
optional:
|
||||||
|
- upgrade_d7_field_collection_type
|
Loading…
Reference in a new issue