d7_contact_settings.yml
Same filename in other branches
File
-
core/
modules/ contact/ migrations/ d7_contact_settings.yml
View source
- 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
- 'flood/interval':
- plugin: default_value
- # It was defaulted to 3600 in D7.
- # @see https://api.drupal.org/api/drupal/includes%21common.inc/function/flood_is_allowed/7.x
- default_value: 3600
- 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
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.