Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: Denes.Szabo as a volunteer and 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 CreditAttribution: Denes.Szabo as a volunteer and commentedThank you for your contribution, the 2.0.2 just released.
Comment #7
Denes.Szabo CreditAttribution: Denes.Szabo as a volunteer and commentedComment #8
Denes.Szabo CreditAttribution: Denes.Szabo as a volunteer and commented