You are here

d7_ip2country_date_formats.yml in IP-based Determination of a Visitor's Country 8

migrations/d7_ip2country_date_formats.yml

File

migrations/d7_ip2country_date_formats.yml
View source
  1. id: d7_ip2country_date_formats
  2. label: Ip2Country date format configuration
  3. migration_tags:
  4. - Drupal 7
  5. - Configuration
  6. source:
  7. plugin: variable_multirow
  8. source_module: ip2country
  9. constants:
  10. - boolean_true: 'true'
  11. - boolean_false: 'false'
  12. - date_only: 'Date only (ip2country)'
  13. - time_only: 'Time only (ip2country)'
  14. variables:
  15. - date_format_ip2country_date
  16. - date_format_ip2country_time
  17. process:
  18. id:
  19. plugin: static_map
  20. source: name
  21. map:
  22. date_format_ip2country_date: ip2country_date
  23. date_format_ip2country_time: ip2country_time
  24. label:
  25. plugin: static_map
  26. source: name
  27. map:
  28. date_format_ip2country_date: 'constants/date_only'
  29. date_format_ip2country_time: 'constants/time_only'
  30. status: 'constants/boolean_true'
  31. locked: 'constants/boolean_false'
  32. pattern: value
  33. destination:
  34. plugin: entity:date_format