d7_filter_format.yml 973 Bytes
Newer Older
1
id: d7_filter_format
2
label: Filter format configuration
3 4 5 6 7
migration_tags:
  - Drupal 7
source:
  plugin: d7_filter_format
process:
8
  format: format
9 10
  name: name
  cache: cache
11
  weight: weight
12 13 14
  filters:
    plugin: iterator
    source: filters
15
    key: '@id'
16 17
    process:
      id:
18 19 20 21 22
        # If the filter ID cannot be mapped, it will pass through unmodified
        # because the bypass flag is set. When the user actually tries to
        # view text through an invalid filter plugin, the filter system will
        # fall back to filter_null and display a helpful error message.
        plugin: filter_id
23 24
        bypass: true
        source: name
25 26 27
        # No need to map anything -- filter plugin IDs haven't changed since
        # Drupal 7.
        map: { }
28 29 30
      settings:
        plugin: filter_settings
        source: settings
31 32 33
      status:
        plugin: default_value
        default_value: true
34
      weight: weight
35 36
destination:
  plugin: entity:filter_format