Update Composer, update everything
This commit is contained in:
parent
ea3e94409f
commit
dda5c284b6
19527 changed files with 1135420 additions and 351004 deletions
24
web/core/modules/contact/migrations/contact_category.yml
Normal file
24
web/core/modules/contact/migrations/contact_category.yml
Normal file
|
@ -0,0 +1,24 @@
|
|||
id: contact_category
|
||||
label: Contact category configuration
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
source:
|
||||
plugin: contact_category
|
||||
process:
|
||||
id:
|
||||
-
|
||||
plugin: machine_name
|
||||
source: category
|
||||
-
|
||||
plugin: make_unique_entity_field
|
||||
entity_type: contact_form
|
||||
field: id
|
||||
length: 32
|
||||
label: category
|
||||
recipients: recipients
|
||||
reply: reply
|
||||
weight: weight
|
||||
destination:
|
||||
plugin: entity:contact_form
|
23
web/core/modules/contact/migrations/d6_contact_settings.yml
Normal file
23
web/core/modules/contact/migrations/d6_contact_settings.yml
Normal file
|
@ -0,0 +1,23 @@
|
|||
id: d6_contact_settings
|
||||
label: Contact configuration
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Configuration
|
||||
source:
|
||||
plugin: contact_settings
|
||||
variables:
|
||||
- contact_default_status
|
||||
- contact_hourly_threshold
|
||||
process:
|
||||
user_default_enabled: contact_default_status
|
||||
'flood/limit': contact_hourly_threshold
|
||||
default_form:
|
||||
plugin: migration_lookup
|
||||
migration: contact_category
|
||||
source: default_category
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: contact.settings
|
||||
migration_dependencies:
|
||||
required:
|
||||
- contact_category
|
29
web/core/modules/contact/migrations/d7_contact_settings.yml
Normal file
29
web/core/modules/contact/migrations/d7_contact_settings.yml
Normal file
|
@ -0,0 +1,29 @@
|
|||
id: d7_contact_settings
|
||||
label: Contact configuration
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Configuration
|
||||
source:
|
||||
plugin: contact_settings
|
||||
variables:
|
||||
- contact_default_status
|
||||
- contact_threshold_limit
|
||||
process:
|
||||
user_default_enabled: contact_default_status
|
||||
'flood/limit': contact_threshold_limit
|
||||
default_form:
|
||||
plugin: migration_lookup
|
||||
migration: contact_category
|
||||
source: default_category
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: contact.settings
|
||||
migration_dependencies:
|
||||
required:
|
||||
- contact_category
|
||||
dependencies:
|
||||
config:
|
||||
- migrate.migration.contact_category
|
||||
module:
|
||||
- contact
|
||||
- migrate_drupal
|
Reference in a new issue