d7_contact_settings.yml

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

File

core/modules/contact/migrations/d7_contact_settings.yml

View source
  1. id: d7_contact_settings
  2. label: Contact configuration
  3. migration_tags:
  4. - Drupal 7
  5. - Configuration
  6. source:
  7. plugin: contact_settings
  8. variables:
  9. - contact_default_status
  10. - contact_threshold_limit
  11. process:
  12. user_default_enabled: contact_default_status
  13. 'flood/limit': contact_threshold_limit
  14. 'flood/interval':
  15. plugin: default_value
  16. # It was defaulted to 3600 in D7.
  17. # @see https://api.drupal.org/api/drupal/includes%21common.inc/function/flood_is_allowed/7.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
  29. dependencies:
  30. config:
  31. - migrate.migration.contact_category
  32. module:
  33. - contact
  34. - migrate_drupal

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