- πΊπΈUnited States smustgrave
+ * Adds default filter settings; updates D7 core filters' default settings.
Think this comment should include why it doesn't apply to D6 right?
For example, the
https://www.drupal.org/project/media_migration β
module ensures the media_filter
filter in D7 gets mapped to the media_embed
filter in D8/9.
But:
media_filter
filter did not have any settings.
media_embed
filter does have settings, and specifies some defaults because of that.
media_embed
filter implements calculateDependencies()
to ensure any Text Format that uses this filter also has the appropriate config dependencies. In this logic, it inspects the settings.
Error: Unsupported operand types in Drupal\media\Plugin\Filter\MediaEmbed->calculateDependencies() (line 523 of /Users/wim.leers/Work/d8/core/modules/media/src/Plugin/Filter/MediaEmbed.php)
Harden \Drupal\filter\Plugin\migrate\process\FilterSettings::transform()
, beyond what
π
Missing migration filters that are replaced with filter_null may have invalid settings applied
Fixed
already did.
Tests
None.
None.
None.
TBD
Needs work
11.0 π₯
Used to track the progress of issues reviewed by the Drupal Needs Review Queue Initiative.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
+ * Adds default filter settings; updates D7 core filters' default settings.
Think this comment should include why it doesn't apply to D6 right?