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