diff --git a/migrations/d5_node_setting_promote.yml b/migrations/d5_node_setting_promote.yml new file mode 100644 index 0000000000000000000000000000000000000000..6e5ede06f11180d1545264432d9ceb731e3ad26f --- /dev/null +++ b/migrations/d5_node_setting_promote.yml @@ -0,0 +1,23 @@ +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 diff --git a/migrations/d5_node_setting_status.yml b/migrations/d5_node_setting_status.yml new file mode 100644 index 0000000000000000000000000000000000000000..ca13509f5d8d121047392c33927f03b4b1e8f955 --- /dev/null +++ b/migrations/d5_node_setting_status.yml @@ -0,0 +1,23 @@ +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