Problem/Motivation
Sites that use the Shortcode module on Drupal 7 should have configuration copied when they migrate to Drupal 8 or Drupal 9.
Proposed resolution
Map the plugin ID of the 'Shortcodes - html corrector' filter to match the D7 version.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | shortcode-shortcode_corrector_filter_mapping-3229599-2.patch | 652 bytes | n4r3n |
Comments
Comment #2
n4r3nPatch to map Shortcodes - html corrector filter.
Comment #3
denes.szabo commented@n4r3n Thanks for your contribution!
Shouldn't we need to check the 'shortcode_text_corrector' existence in the $migration and add the new corrector id when it exists?
I mean:
Comment #4
wim leers#3: No, that's not necessary. We're creating that entry in the array/mapping :)
You can find a bunch of examples in contrib of this, and even one in Drupal core: #3106304: Migrate: add mapping for editor module's editor_align and editor_caption filters.
Comment #6
denes.szabo commentedThank you for your contribution, the 2.0.2 just released.
Comment #7
denes.szabo commentedComment #8
denes.szabo commented