diff --git a/core/modules/migrate/config/schema/migrate.data_types.schema.yml b/core/modules/migrate/config/schema/migrate.data_types.schema.yml index 15e0581..efdee08 100644 --- a/core/modules/migrate/config/schema/migrate.data_types.schema.yml +++ b/core/modules/migrate/config/schema/migrate.data_types.schema.yml @@ -14,3 +14,7 @@ migrate_destination: migrate_source: type: migrate_plugin label: 'Source' + +migrate_load: + type: migrate_plugin + label: 'Load' diff --git a/core/modules/migrate/config/schema/migrate.destination.schema.yml b/core/modules/migrate/config/schema/migrate.destination.schema.yml index 00456ca..97cf48c 100644 --- a/core/modules/migrate/config/schema/migrate.destination.schema.yml +++ b/core/modules/migrate/config/schema/migrate.destination.schema.yml @@ -5,9 +5,25 @@ migrate.destination.*: label: 'Default destination' migrate.destination.config: - type: mapping + type: migrate_destination label: 'Config' mapping: config_name: type: string label: 'Configuration name' + +"migrate.destination.entity:user": + type: migrate_destination + label: 'User' + mapping: + md5_passwords: + type: boolean + label: 'Passwords' + +"migrate.destination.entity:file": + type: migrate_destination + label: 'Picture' + mapping: + source_path_property: + type: string + label: 'Source path' diff --git a/core/modules/migrate/config/schema/migrate.load.schema.yml b/core/modules/migrate/config/schema/migrate.load.schema.yml new file mode 100644 index 0000000..aab9469 --- /dev/null +++ b/core/modules/migrate/config/schema/migrate.load.schema.yml @@ -0,0 +1,21 @@ +# Schema for the migrate load plugins. + +migrate.load.*: + type: migrate_load + label: 'Default load' + +migrate.load.drupal_entity: + type: migrate_load + label: 'Default source' + mapping: + bundle_migration: + type: string + label: 'Bundle migration' + +migrate.load.d6_term_node: + type: migrate_load + label: 'Default source' + mapping: + bundle_migration: + type: string + label: 'Bundle migration' diff --git a/core/modules/migrate/config/schema/migrate.schema.yml b/core/modules/migrate/config/schema/migrate.schema.yml index 6cf4847..cdca049 100644 --- a/core/modules/migrate/config/schema/migrate.schema.yml +++ b/core/modules/migrate/config/schema/migrate.schema.yml @@ -10,6 +10,9 @@ migrate.migration.*: label: type: label label: 'Label' + load: + type: migrate.load.[plugin] + label: 'Source' source: type: migrate.source.[plugin] label: 'Source' diff --git a/core/modules/migrate/config/schema/migrate.source.schema.yml b/core/modules/migrate/config/schema/migrate.source.schema.yml index c748bac..b0ff9e7 100644 --- a/core/modules/migrate/config/schema/migrate.source.schema.yml +++ b/core/modules/migrate/config/schema/migrate.source.schema.yml @@ -5,7 +5,7 @@ migrate.source.*: label: 'Default source' migrate.source.variable: - type: mapping + type: migrate_source label: 'Variable' mapping: variables: @@ -14,6 +14,28 @@ migrate.source.variable: sequence: - type: string label: 'Variable' + constants: + type: mapping + label: 'Constants' + mapping: + entity_type: + type: string + label: 'Entity type' + id: + type: string + label: 'ID' + label: + type: label + label: 'Label' + description: + type: text + label: 'Description' + path: + type: string + label: 'Path' + plugin: + type: string + label: 'Plugin' migrate.source.d6_comment: type: migrate_source @@ -62,3 +84,305 @@ migrate.source.d6_comment_variable: name: type: label label: 'Name' + +migrate.source.d6_comment: + type: migrate_source + label: 'Drupal 6 comment' + mapping: + constants: + type: mapping + label: 'Constants' + mapping: + field_name: + type: string + label: 'Field name' + comment_type: + type: string + label: 'Comment type' + entity_type: + type: string + label: 'Entity type' + +migrate.source.d6_box: + type: migrate_source + label: 'Drupal 6 box' + mapping: + constants: + type: mapping + label: 'Constants' + mapping: + type: + type: string + label: 'Type' + +migrate.source.d6_taxonomy_vocabulary: + type: migrate_source + label: 'Drupal 6 field instance form display' + mapping: + constants: + type: migrate_entity_constant + label: 'Constants' + +migrate.source.d6_field_instance_per_form_display: + type: migrate_source + label: 'Drupal 6 field instance form display' + mapping: + constants: + type: migrate_entity_constant + label: 'Constants' + +migrate.source.d6_taxonomy_vocabulary_per_type: + type: migrate_source + label: 'Drupal 6 field instance form display' + mapping: + constants: + type: migrate_entity_constant + label: 'Constants' + +migrate.source.d6_taxonomy_vocabulary_per_type: + type: migrate_source + label: 'Drupal 6 field instance form display' + mapping: + constants: + type: migrate_entity_constant + label: 'Constants' + +migrate.source.d6_field: + type: migrate_source + label: 'Drupal 6 box' + mapping: + constants: + type: migrate_entity_constant + label: 'Constants' + +migrate.source.variable_multirow: + type: migrate_source + label: 'Drupal 6 box' + mapping: + variables: + type: sequence + label: 'Variables' + sequence: + - type: string + label: 'Variable' + +migrate.source.d6_comment_variable: + type: migrate_source + label: 'Drupal 6 comment variable' + mapping: + constants: + type: migrate_entity_constant + label: 'Constants' + +migrate.source.d6_contact_settings: + type: migrate_source + label: 'Drupal 6 contact settings' + mapping: + variables: + type: sequence + label: 'Variables' + sequence: + - type: string + label: 'Variable' + +migrate.source.d6_view_mode: + type: migrate_source + label: 'Drupal 6 view mode' + mapping: + constants: + type: mapping + label: 'Constants' + mapping: + targetEntityType: + type: string + label: 'Target entity type' + status: + type: boolean + label: 'Status' + +migrate.source.d6_profile_field: + type: migrate_source + label: 'Drupal 6 profile field' + mapping: + constants: + type: migrate_entity_constant + label: 'Constants' + +migrate.source.d6_field_formatter_settings: + type: migrate_source + label: 'Drupal 6 field formatter settings' + mapping: + constants: + type: migrate_entity_constant + label: 'Constants' + +migrate.source.d6_node_type: + type: migrate_source + label: 'Drupal 6 node type' + mapping: + constants: + type: mapping + label: 'Constants' + mapping: + preview: + type: integer + label: 'Preview' + create_body: + type: boolean + label: 'create body' + +migrate.source.d6_upload_instance: + type: migrate_source + label: 'Drupal 6 upload form display' + mapping: + constants: + type: migrate_entity_constant + label: 'Constants' + +migrate.source.d6_field_instance: + type: migrate_source + label: 'Drupal 6 field instance' + mapping: + constants: + type: migrate_entity_constant + label: 'Constants' + +migrate.source.d6_field_instance_per_view_mode: + type: migrate_source + label: 'Drupal 6 field formatter' + mapping: + constants: + type: migrate_entity_constant + label: 'Constants' + +migrate.source.empty: + type: migrate_source + label: 'Drupal 6 field formatter' + mapping: + provider: + type: string + label: 'Provider' + constants: + type: mapping + label: 'Constants' + mapping: + entity_type: + type: string + label: 'Entity type' + type: + type: string + label: 'Type' + name: + type: string + label: 'Name' + cardinality: + type: integer + label: 'Cardinality' + display_field: + type: boolean + label: 'Display field' + +migrate.source.d6_user_picture_file: + type: migrate_source + label: 'Drupal 6 user picure display' + mapping: + constants: + type: mapping + label: 'Constant' + mapping: + is_public: + type: boolean + label: 'Public' + +migrate.source.d6_user_picture_instance: + type: migrate_source + label: 'Drupal 6 user picure display' + mapping: + provider: + type: string + label: 'Provider' + constants: + type: migrate_entity_constant + label: 'Constants' + +migrate_entity_constant: + type: mapping + mapping: + entity_type: + type: string + label: 'Entity type' + bundle: + type: string + label: 'Bundle' + label: + type: label + label: 'Label' + id: + type: string + label: 'ID' + view_mode: + type: string + label: 'View mode' + form_mode: + type: string + label: 'Form mode' + field_name: + type: string + label: 'Field name' + empty: + type: sequence + label: 'Empty' + sequence: + - type: string + label: 'Empty' + name: + type: string + label: 'Name' + required: + type: boolean + label: 'Required' + type: + type: string + label: 'Type' + cardinality: + type: integer + label: 'Cardinality' + parent: + type: integer + label: 'Parent' + langcode: + type: string + label: 'Type' + third_party_settings: + type: sequence + label: 'Settings' + sequence: + - type: ignore + label: 'Settings' + settings: + type: sequence + label: 'Settings' + sequence: + - type: ignore + label: 'Settings' + options: + type: mapping + label: 'Options' + mapping: + label: + type: string + label: 'label' + type: + type: string + label: 'Type' + weight: + type: integer + label: 'Weight' + settings: + type: sequence + label: 'Settings' + sequence: + - type: string + label: 'Settings' + + diff --git a/core/modules/migrate_drupal/config/install/migrate.migration.d6_contact_settings.yml b/core/modules/migrate_drupal/config/install/migrate.migration.d6_contact_settings.yml index 65b0082..e45dde1 100644 --- a/core/modules/migrate_drupal/config/install/migrate.migration.d6_contact_settings.yml +++ b/core/modules/migrate_drupal/config/install/migrate.migration.d6_contact_settings.yml @@ -15,5 +15,6 @@ process: destination: plugin: config config_name: contact.settings -dependencies: - - d6_contact_category +migration_dependencies: + required: + - d6_contact_category