You are here

phone_number_settings.yml in SMS Framework 8

migration_templates/phone_number_settings.yml

File

migration_templates/phone_number_settings.yml
View source
  1. id: phone_number_settings
  2. label: 'Phone number verification settings from D6 / D7 sms_user settings.'
  3. migration_tags:
  4. - Drupal 6
  5. - Drupal 7
  6. - SMS Framework
  7. source:
  8. plugin: variable
  9. variables:
  10. - sms_user_confirmation_message
  11. - sms_user_registration_form
  12. - sms_user_sleep
  13. - user_register
  14. constants:
  15. config_id: user.user
  16. entity_type: user
  17. bundle: user
  18. field_names:
  19. phone_number: phone_number
  20. process:
  21. id: 'constants/config_id'
  22. entity_type: 'constants/entity_type'
  23. bundle: 'constants/bundle'
  24. verification_message:
  25. plugin: phone_number_settings
  26. source: sms_user_confirmation_message
  27. verification_code_lifetime:
  28. plugin: default_value
  29. default_value: 600
  30. purge_verification_phone_number:
  31. plugin: default_value
  32. default_value: true
  33. fields: 'constants/field_names'
  34. destination:
  35. plugin: entity:phone_number_settings
  36. migration_dependencies:
  37. required: { }
  38. optional: { }