Issue #2711099 by heddn, Jo Fitzgerald, edysmp, edgewl2, alexpott, Charlotte17, mikeryan, masipila, quietone, maxocub, phenaproxima: Categorize migrations according to their type
parent
ad8310d784
commit
7e0ddac162
|
|
@ -3,6 +3,7 @@ label: Action configuration
|
|||
migration_tags:
|
||||
- Drupal 6
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d6_action
|
|||
label: Actions
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Configuration
|
||||
source:
|
||||
plugin: action
|
||||
process:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d7_action
|
|||
label: Actions
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
source:
|
||||
plugin: action
|
||||
process:
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ label: Aggregator feeds
|
|||
audit: true
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Content
|
||||
source:
|
||||
plugin: aggregator_feed
|
||||
process:
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ label: Aggregator items
|
|||
audit: true
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Content
|
||||
source:
|
||||
plugin: aggregator_item
|
||||
process:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d6_aggregator_settings
|
|||
label: Aggregator configuration
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Configuration
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ label: Aggregator feeds
|
|||
audit: true
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Content
|
||||
source:
|
||||
plugin: aggregator_feed
|
||||
process:
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ label: Aggregator items
|
|||
audit: true
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Content
|
||||
source:
|
||||
plugin: aggregator_item
|
||||
process:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d7_aggregator_settings
|
|||
label: Aggregator configuration
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d7_blocked_ips
|
|||
label: Blocked IPs
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Content
|
||||
source:
|
||||
plugin: d7_blocked_ips
|
||||
process:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d6_block
|
|||
label: Blocks
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Configuration
|
||||
source:
|
||||
plugin: block
|
||||
process:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d7_block
|
|||
label: Blocks
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
source:
|
||||
plugin: block
|
||||
process:
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ label: Block content body field configuration
|
|||
migration_tags:
|
||||
- Drupal 6
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
source:
|
||||
plugin: embedded_data
|
||||
data_rows:
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ label: Body field display configuration
|
|||
migration_tags:
|
||||
- Drupal 6
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
source:
|
||||
plugin: embedded_data
|
||||
data_rows:
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ label: Body field form display configuration
|
|||
migration_tags:
|
||||
- Drupal 6
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
source:
|
||||
plugin: embedded_data
|
||||
data_rows:
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ label: Block content type
|
|||
migration_tags:
|
||||
- Drupal 6
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
source:
|
||||
plugin: embedded_data
|
||||
data_rows:
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ label: Custom blocks
|
|||
audit: true
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Content
|
||||
source:
|
||||
plugin: d6_box
|
||||
process:
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ label: Custom blocks
|
|||
audit: true
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Content
|
||||
source:
|
||||
plugin: d7_block_custom
|
||||
process:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d6_book
|
|||
label: Books
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Content
|
||||
source:
|
||||
plugin: d6_book
|
||||
process:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d6_book_settings
|
|||
label: Book configuration
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Configuration
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ label: Comments
|
|||
audit: true
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Content
|
||||
source:
|
||||
plugin: d6_comment
|
||||
constants:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d6_comment_entity_display
|
|||
label: Comment display configuration
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Configuration
|
||||
source:
|
||||
plugin: d6_node_type
|
||||
constants:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d6_comment_entity_form_display
|
|||
label: Comment field form display configuration
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Configuration
|
||||
source:
|
||||
plugin: d6_node_type
|
||||
constants:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d6_comment_entity_form_display_subject
|
|||
label: Comment subject form display configuration
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Configuration
|
||||
source:
|
||||
plugin: d6_node_type
|
||||
constants:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d6_comment_field
|
|||
label: Comment field configuration
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Configuration
|
||||
source:
|
||||
plugin: d6_node_type
|
||||
constants:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d6_comment_field_instance
|
|||
label: Comment field instance configuration
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Configuration
|
||||
source:
|
||||
plugin: d6_node_type
|
||||
constants:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d6_comment_type
|
|||
label: Comment type
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Configuration
|
||||
source:
|
||||
plugin: d6_node_type
|
||||
constants:
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ label: Comments
|
|||
audit: true
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Content
|
||||
source:
|
||||
plugin: d7_comment
|
||||
constants:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d7_comment_entity_display
|
|||
label: Comment display configuration
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
source:
|
||||
plugin: d7_node_type
|
||||
constants:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d7_comment_entity_form_display
|
|||
label: Comment field form display configuration
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
source:
|
||||
plugin: d7_node_type
|
||||
constants:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d7_comment_entity_form_display_subject
|
|||
label: Comment subject form display configuration
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
source:
|
||||
plugin: d7_node_type
|
||||
constants:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d7_comment_field
|
|||
label: Comment field configuration
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
source:
|
||||
plugin: d7_node_type
|
||||
constants:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d7_comment_field_instance
|
|||
label: Comment field instance configuration
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
source:
|
||||
plugin: d7_node_type
|
||||
constants:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d7_comment_type
|
|||
label: Comment type
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
source:
|
||||
plugin: d7_node_type
|
||||
constants:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d6_system_maintenance_translation
|
|||
label: Maintenance page configuration
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Configuration
|
||||
source:
|
||||
plugin: variable_translation
|
||||
variables:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d6_system_site_translation
|
|||
label: Site configuration
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Configuration
|
||||
source:
|
||||
plugin: variable_translation
|
||||
constants:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d6_user_mail_translation
|
|||
label: User mail configuration
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Configuration
|
||||
source:
|
||||
plugin: variable_translation
|
||||
variables:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d6_user_profile_field_instance_translation
|
|||
label: User profile field instance configuration
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Configuration
|
||||
source:
|
||||
plugin: d6_profile_field_translation
|
||||
constants:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d6_user_settings_translation
|
|||
label: User configuration
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Configuration
|
||||
source:
|
||||
plugin: variable_translation
|
||||
variables:
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ label: Contact category configuration
|
|||
migration_tags:
|
||||
- Drupal 6
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
source:
|
||||
plugin: contact_category
|
||||
process:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d6_contact_settings
|
|||
label: Contact configuration
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Configuration
|
||||
source:
|
||||
plugin: contact_settings
|
||||
variables:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d7_contact_settings
|
|||
label: Contact configuration
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
source:
|
||||
plugin: contact_settings
|
||||
variables:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d6_taxonomy_term_translation
|
|||
label: Taxonomy terms
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Content
|
||||
source:
|
||||
plugin: d6_taxonomy_term
|
||||
translations: true
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d6_dblog_settings
|
|||
label: Database logging configuration
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Configuration
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d7_dblog_settings
|
|||
label: Database logging configuration
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d6_field
|
|||
label: Field configuration
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Configuration
|
||||
class: Drupal\migrate_drupal\Plugin\migrate\FieldMigration
|
||||
field_plugin_method: processField
|
||||
source:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d6_field_formatter_settings
|
|||
label: Field formatter configuration
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Configuration
|
||||
class: Drupal\migrate_drupal\Plugin\migrate\FieldMigration
|
||||
field_plugin_method: processFieldFormatter
|
||||
source:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d6_field_instance
|
|||
label: Field instance configuration
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Configuration
|
||||
class: Drupal\migrate_drupal\Plugin\migrate\FieldMigration
|
||||
field_plugin_method: processFieldInstance
|
||||
source:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d6_field_instance_widget_settings
|
|||
label: Field instance widget configuration
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Configuration
|
||||
class: Drupal\migrate_drupal\Plugin\migrate\FieldMigration
|
||||
field_plugin_method: processFieldWidget
|
||||
source:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d7_field
|
|||
label: Field configuration
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
class: Drupal\migrate_drupal\Plugin\migrate\FieldMigration
|
||||
field_plugin_method: processField
|
||||
source:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d7_field_formatter_settings
|
|||
label: Field formatter configuration
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
class: Drupal\migrate_drupal\Plugin\migrate\FieldMigration
|
||||
field_plugin_method: processFieldFormatter
|
||||
source:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d7_field_instance
|
|||
label: Field instance configuration
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
class: Drupal\migrate_drupal\Plugin\migrate\FieldMigration
|
||||
field_plugin_method: processFieldInstance
|
||||
source:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d7_field_instance_widget_settings
|
|||
label: Field instance widget configuration
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
class: Drupal\migrate_drupal\Plugin\migrate\FieldMigration
|
||||
field_plugin_method: processFieldWidget
|
||||
source:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d7_view_modes
|
|||
label: View modes
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
source:
|
||||
plugin: d7_view_mode
|
||||
process:
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ label: Public files
|
|||
audit: true
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Content
|
||||
source:
|
||||
plugin: d6_file
|
||||
constants:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d6_upload
|
|||
label: File uploads
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Content
|
||||
source:
|
||||
plugin: d6_upload
|
||||
process:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d6_upload_entity_display
|
|||
label: Upload display configuration
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Configuration
|
||||
source:
|
||||
plugin: d6_upload_instance
|
||||
constants:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d6_upload_entity_form_display
|
|||
label: Upload form display configuration
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Configuration
|
||||
source:
|
||||
plugin: d6_upload_instance
|
||||
constants:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d6_upload_field
|
|||
label: Upload field configuration
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Configuration
|
||||
source:
|
||||
# We do an empty source and a proper destination to have an idmap for
|
||||
# migration_dependencies.
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d6_upload_field_instance
|
|||
label: Upload field instance configuration
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Configuration
|
||||
source:
|
||||
plugin: d6_upload_instance
|
||||
constants:
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ label: Public files
|
|||
audit: true
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Content
|
||||
source:
|
||||
plugin: d7_file
|
||||
scheme: public
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ label: Private files
|
|||
audit: true
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Content
|
||||
source:
|
||||
plugin: d7_file
|
||||
scheme: private
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ label: File configuration
|
|||
migration_tags:
|
||||
- Drupal 6
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d6_filter_format
|
|||
label: Filter format configuration
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Configuration
|
||||
source:
|
||||
plugin: d6_filter_format
|
||||
process:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d7_filter_format
|
|||
label: Filter format configuration
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
source:
|
||||
plugin: d7_filter_format
|
||||
process:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d7_filter_settings
|
|||
label: Drupal 7 filter settings
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d6_forum_settings
|
|||
label: Forum configuration
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Configuration
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d7_forum_settings
|
|||
label: Forum configuration
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d6_imagecache_presets
|
|||
label: ImageCache Presets
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Configuration
|
||||
source:
|
||||
plugin: d6_imagecache_presets
|
||||
process:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d7_image_settings
|
|||
label: Image configuration
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d7_image_styles
|
|||
label: Image styles
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
source:
|
||||
plugin: d7_image_styles
|
||||
process:
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
id: d6_language_content_settings
|
||||
label: Drupal 6 language content settings
|
||||
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Configuration
|
||||
source:
|
||||
plugin: d6_language_content_settings
|
||||
constants:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d6_language_negotiation_settings
|
|||
label: Language negotiation settings
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Configuration
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d6_language_types
|
|||
label: Language types
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Configuration
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d7_language_content_settings
|
|||
label: Drupal 7 language content settings
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
source:
|
||||
plugin: d7_language_content_settings
|
||||
constants:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d7_language_negotiation_settings
|
|||
label: Language negotiation settings
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d7_language_types
|
|||
label: Language types
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ label: Default language
|
|||
migration_tags:
|
||||
- Drupal 6
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ label: Languages
|
|||
migration_tags:
|
||||
- Drupal 6
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
source:
|
||||
plugin: language
|
||||
process:
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ label: Language prefixes and domains
|
|||
migration_tags:
|
||||
- Drupal 6
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
source:
|
||||
plugin: language
|
||||
fetch_all: true
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ label: Locale configuration
|
|||
migration_tags:
|
||||
- Drupal 6
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ label: Menu links
|
|||
audit: true
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Content
|
||||
source:
|
||||
plugin: menu_link
|
||||
process:
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ label: Menu links
|
|||
audit: true
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Content
|
||||
source:
|
||||
plugin: menu_link
|
||||
constants:
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ label: Menu UI configuration
|
|||
migration_tags:
|
||||
- Drupal 6
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
|
|
|
|||
|
|
@ -0,0 +1,92 @@
|
|||
<?php
|
||||
|
||||
namespace Drupal\Tests\migrate\Kernel\Plugin;
|
||||
|
||||
use Drupal\ban\Plugin\migrate\destination\BlockedIP;
|
||||
use Drupal\KernelTests\FileSystemModuleDiscoveryDataProviderTrait;
|
||||
use Drupal\migrate\Plugin\migrate\destination\ComponentEntityDisplayBase;
|
||||
use Drupal\migrate\Plugin\migrate\destination\Config;
|
||||
use Drupal\migrate\Plugin\migrate\destination\EntityConfigBase;
|
||||
use Drupal\migrate\Plugin\migrate\destination\EntityContentBase;
|
||||
use Drupal\path\Plugin\migrate\destination\UrlAlias;
|
||||
use Drupal\shortcut\Plugin\migrate\destination\ShortcutSetUsers;
|
||||
use Drupal\statistics\Plugin\migrate\destination\NodeCounter;
|
||||
use Drupal\system\Plugin\migrate\destination\d7\ThemeSettings;
|
||||
use Drupal\Tests\migrate_drupal\Kernel\MigrateDrupalTestBase;
|
||||
use Drupal\user\Plugin\migrate\destination\UserData;
|
||||
|
||||
/**
|
||||
* Tests that all migrations are tagged as either content or configuration.
|
||||
*
|
||||
* @coversDefaultClass \Drupal\migrate\Plugin\MigrationPluginManager
|
||||
*
|
||||
* @group migrate
|
||||
*/
|
||||
class DestinationCategoryTest extends MigrateDrupalTestBase {
|
||||
|
||||
use FileSystemModuleDiscoveryDataProviderTrait;
|
||||
|
||||
/**
|
||||
* The migration plugin manager.
|
||||
*
|
||||
* @var \Drupal\migrate\Plugin\MigrationPluginManager
|
||||
*/
|
||||
protected $migrationManager;
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected function setUp() {
|
||||
// Enable all modules.
|
||||
self::$modules = array_keys($this->coreModuleListDataProvider());
|
||||
parent::setUp();
|
||||
$this->migrationManager = \Drupal::service('plugin.manager.migration');
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers ::getDefinitions
|
||||
*/
|
||||
public function testGetGroupedDefinitions() {
|
||||
$definitions = array_keys($this->migrationManager->getDefinitions());
|
||||
|
||||
// Configuration migrations should have a destination plugin that is an
|
||||
// instance of one of the following classes.
|
||||
$config_classes = [
|
||||
Config::class,
|
||||
EntityConfigBase::class,
|
||||
ThemeSettings::class,
|
||||
ComponentEntityDisplayBase::class,
|
||||
ShortcutSetUsers::class,
|
||||
];
|
||||
// Content migrations should have a destination plugin that is an instance
|
||||
// of one of the following classes.
|
||||
$content_classes = [
|
||||
EntityContentBase::class,
|
||||
UrlAlias::class,
|
||||
BlockedIP::class,
|
||||
NodeCounter::class,
|
||||
UserData::class,
|
||||
];
|
||||
|
||||
// Instantiate all migrations.
|
||||
/** @var \Drupal\migrate\Plugin\Migration[] $migrations */
|
||||
$migrations = $this->migrationManager->createInstances($definitions);
|
||||
foreach ($migrations as $id => $migration) {
|
||||
$object_classes = class_parents($migration->getDestinationPlugin());
|
||||
$object_classes[] = get_class($migration->getDestinationPlugin());
|
||||
|
||||
// Ensure that the destination plugin is an instance of at least one of
|
||||
// the expected classes.
|
||||
if (in_array('Configuration', $migration->getMigrationTags(), TRUE)) {
|
||||
$this->assertNotEmpty(array_intersect($object_classes, $config_classes), "The migration $id is tagged as Configuration.");
|
||||
}
|
||||
elseif (in_array('Content', $migration->getMigrationTags(), TRUE)) {
|
||||
$this->assertNotEmpty(array_intersect($object_classes, $content_classes), "The migration $id is tagged as Content.");
|
||||
}
|
||||
else {
|
||||
$this->fail("The migration $id is not tagged as either 'Content' or 'Configuration'.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -2,6 +2,7 @@ id: d6_node_setting_promote
|
|||
label: Node type 'promote' setting
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Configuration
|
||||
source:
|
||||
plugin: d6_node_type
|
||||
constants:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d6_node_setting_status
|
|||
label: Node type 'status' setting
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Configuration
|
||||
source:
|
||||
plugin: d6_node_type
|
||||
constants:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d6_node_setting_sticky
|
|||
label: Node type 'sticky' setting
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Configuration
|
||||
source:
|
||||
plugin: d6_node_type
|
||||
constants:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d6_node_settings
|
|||
label: Node configuration
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Configuration
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d6_node_type
|
|||
label: Node type configuration
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Configuration
|
||||
source:
|
||||
plugin: d6_node_type
|
||||
constants:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d6_view_modes
|
|||
label: View modes
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Configuration
|
||||
source:
|
||||
plugin: d6_view_mode
|
||||
constants:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d7_node_settings
|
|||
label: Node configuration
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d7_node_title_label
|
|||
label: Node title label
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
source:
|
||||
plugin: d7_node_type
|
||||
constants:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d7_node_type
|
|||
label: Node type configuration
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
source:
|
||||
plugin: d7_node_type
|
||||
constants:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d6_url_alias
|
|||
label: URL aliases
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Content
|
||||
source:
|
||||
plugin: d6_url_alias
|
||||
constants:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d7_url_alias
|
|||
label: URL aliases
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Content
|
||||
source:
|
||||
plugin: d7_url_alias
|
||||
constants:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d6_search_settings
|
|||
label: Search configuration
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Configuration
|
||||
source:
|
||||
plugin: variable
|
||||
constants:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d7_search_settings
|
|||
label: Search configuration
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
source:
|
||||
plugin: variable
|
||||
constants:
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ label: Search page configuration
|
|||
migration_tags:
|
||||
- Drupal 6
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ id: d7_shortcut
|
|||
label: Shortcut links
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Content
|
||||
source:
|
||||
plugin: d7_shortcut
|
||||
constants:
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue