d6_contact_settings.yml

Same filename in other branches
  1. 9 core/modules/contact/migrations/d6_contact_settings.yml
  2. 8.9.x core/modules/contact/migrations/d6_contact_settings.yml
  3. 10 core/modules/contact/migrations/d6_contact_settings.yml
core/modules/contact/migrations/d6_contact_settings.yml

File

core/modules/contact/migrations/d6_contact_settings.yml

View source
  1. id: d6_contact_settings
  2. label: Contact configuration
  3. migration_tags:
  4. - Drupal 6
  5. - Configuration
  6. source:
  7. plugin: contact_settings
  8. variables:
  9. - contact_default_status
  10. - contact_hourly_threshold
  11. process:
  12. user_default_enabled: contact_default_status
  13. 'flood/limit': contact_hourly_threshold
  14. 'flood/interval':
  15. plugin: default_value
  16. # It was defaulted to 3600 in D6.
  17. # @see https://api.drupal.org/api/drupal/includes%21common.inc/function/flood_is_allowed/6.x
  18. default_value: 3600
  19. default_form:
  20. plugin: migration_lookup
  21. migration: contact_category
  22. source: default_category
  23. destination:
  24. plugin: config
  25. config_name: contact.settings
  26. migration_dependencies:
  27. required:
  28. - contact_category

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.