migrate_plus.migration.upgrade_d6_filter_format.yml 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. uuid: 8a3a61b7-7578-4a00-aa6e-44455798d537
  2. langcode: fr
  3. status: true
  4. dependencies: { }
  5. id: upgrade_d6_filter_format
  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: 'Filter format configuration'
  13. source:
  14. plugin: d6_filter_format
  15. process:
  16. format:
  17. plugin: machine_name
  18. source: name
  19. name: name
  20. cache: cache
  21. filters:
  22. plugin: sub_process
  23. source: filters
  24. key: '@id'
  25. process:
  26. id:
  27. plugin: filter_id
  28. source:
  29. - module
  30. - delta
  31. bypass: true
  32. map:
  33. filter:
  34. - filter_html
  35. - filter_autop
  36. - filter_url
  37. - filter_htmlcorrector
  38. - filter_html_escape
  39. settings:
  40. plugin: filter_settings
  41. source: settings
  42. status:
  43. plugin: default_value
  44. default_value: true
  45. destination:
  46. plugin: 'entity:filter_format'
  47. no_stub: true
  48. migration_dependencies:
  49. required: { }
  50. optional: { }