migrate_plus.migration.upgrade_d6_date_formats.yml 726 B

123456789101112131415161718192021222324252627282930313233
  1. uuid: 000c667a-afec-4496-ada0-872cdfdc11dd
  2. langcode: fr
  3. status: true
  4. dependencies: { }
  5. id: upgrade_d6_date_formats
  6. class: Drupal\migrate\Plugin\Migration
  7. field_plugin_method: null
  8. cck_plugin_method: null
  9. migration_tags:
  10. - 'Drupal 6'
  11. migration_group: migrate_drupal_6
  12. label: 'Date format configuration'
  13. source:
  14. plugin: variable_multirow
  15. variables:
  16. - date_format_long
  17. - date_format_medium
  18. - date_format_short
  19. source_module: system
  20. process:
  21. id:
  22. plugin: static_map
  23. source: name
  24. map:
  25. date_format_long: long
  26. date_format_short: short
  27. date_format_medium: medium
  28. pattern: value
  29. destination:
  30. plugin: 'entity:date_format'
  31. migration_dependencies:
  32. required: { }
  33. optional: { }