Skip to content
Snippets Groups Projects
Commit 850c4a0f authored by Kurucz István's avatar Kurucz István
Browse files

Migrate "promote" and "status" node-type settings.

parent d13f4f45
No related branches found
No related tags found
No related merge requests found
id: d5_node_setting_promote
label: Node type 'promote' setting
migration_tags:
- Drupal 5
- Configuration
source:
plugin: d5_node_type
constants:
entity_type: node
field_name: promote
process:
entity_type: 'constants/entity_type'
bundle: type
field_name: 'constants/field_name'
label:
plugin: default_value
default_value: ' Promoted to front page'
'default_value/0/value': 'options/promote'
destination:
plugin: entity:base_field_override
migration_dependencies:
required:
- d5_node_type
id: d5_node_setting_status
label: Node type 'status' setting
migration_tags:
- Drupal 5
- Configuration
source:
plugin: d5_node_type
constants:
entity_type: node
field_name: status
process:
entity_type: 'constants/entity_type'
bundle: type
field_name: 'constants/field_name'
label:
plugin: default_value
default_value: 'Published'
'default_value/0/value': 'options/status'
destination:
plugin: entity:base_field_override
migration_dependencies:
required:
- d5_node_type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment