Updated to Drupal 8.6.4, which is PHP 7.3 friendly. Also updated HTMLaw library....
[yaffs-website] / web / core / modules / filter / migrations / d6_filter_format.yml
1 id: d6_filter_format
2 label: Filter format configuration
3 migration_tags:
4   - Drupal 6
5   - Configuration
6 source:
7   plugin: d6_filter_format
8 process:
9   format:
10     plugin: machine_name
11     source: name
12   name: name
13   cache: cache
14   filters:
15     plugin: sub_process
16     source: filters
17     key: '@id'
18     process:
19       id:
20         # If the filter ID cannot be mapped, it will be passed through
21         # unchanged because the bypass flag is set. The filter_id plugin
22         # will flatten the input value and default it to filter_null (the
23         # fallback filter plugin ID) if the flattened input value is not
24         # a valid plugin ID.
25         plugin: filter_id
26         source:
27           - module
28           - delta
29         bypass: true
30         map:
31           filter:
32             - filter_html
33             - filter_autop
34             - filter_url
35             - filter_htmlcorrector
36             - filter_html_escape
37       settings:
38         plugin: filter_settings
39         source: settings
40       status:
41         plugin: default_value
42         default_value: true
43 destination:
44   plugin: entity:filter_format
45   no_stub: true