Commit 246ec168 authored by webchick's avatar webchick
Browse files

Issue #2534042 by mikeryan, phenaproxima: Move module-specific migration...

Issue #2534042 by mikeryan, phenaproxima: Move module-specific migration support into the user module
parent c1e0ba38
......@@ -17,14 +17,6 @@ migrate.destination.config:
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'
......
......@@ -20,6 +20,3 @@ services:
plugin.manager.migrate.id_map:
class: Drupal\migrate\Plugin\MigratePluginManager
arguments: [id_map, '@container.namespaces', '@cache.discovery', '@module_handler']
password_migrate:
class: Drupal\migrate\MigratePassword
arguments: ['@password_original']
......@@ -102,14 +102,6 @@ migrate.source.d6_comment_variable:
type: migrate_entity_constant
label: 'Constants'
migrate.source.d6_profile_field:
type: migrate_source_sql
label: 'Drupal 6 profile field'
mapping:
constants:
type: migrate_entity_constant
label: 'Constants'
migrate.source.d6_field_formatter_settings:
type: migrate_source_sql
label: 'Drupal 6 field formatter settings'
......@@ -142,44 +134,6 @@ migrate.source.d6_field_instance_per_view_mode:
type: migrate_entity_constant
label: 'Constants'
migrate.source.d6_user:
type: migrate_source_sql
label: 'Drupal 6 user'
mapping:
constants:
type: mapping
label: 'Constants'
mapping:
key:
type: string
label: 'User data key'
module:
type: string
label: 'Module name'
migrate.source.d6_user_picture_file:
type: migrate_source_sql
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_sql
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:
......
# Schema for the migrate destination plugin.
migrate.destination.entity:user:
type: migrate_destination
label: 'User'
mapping:
md5_passwords:
type: boolean
label: 'Passwords'
# Schema for the user module's migration source plugins.
migrate.source.d6_user:
type: migrate_source_sql
label: 'Drupal 6 user'
mapping:
constants:
type: mapping
label: 'Constants'
mapping:
key:
type: string
label: 'User data key'
module:
type: string
label: 'Module name'
migrate.source.d6_user_picture_file:
type: migrate_source_sql
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_sql
label: 'Drupal 6 user picure display'
mapping:
provider:
type: string
label: 'Provider'
constants:
type: migrate_entity_constant
label: 'Constants'
migrate.source.d6_profile_field:
type: migrate_source_sql
label: 'Drupal 6 profile field'
mapping:
constants:
type: migrate_entity_constant
label: 'Constants'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment