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
The text format 'full_html' is created by the standard install profile, so may not exist on all sites. This module has 'full_html' hard coded for use in taxonomy and product fields, which cause a fatal error when rendering them when the format is not found.
Proposed resolution
Use filter_default_format() instead of hard coded filter format.
Remaining tasks
It may be useful to have a configuration for to select the filter format to use, however I would imagine filter_default_format() would suffice for most needs.
User interface changes
N/A
API changes
N/A
Data model changes
N/A
Comment | File | Size | Author |
---|---|---|---|
#2 | use-default-filter-format-2841257-2.patch | 1.36 KB | ericgsmith |
Comments
Comment #2
ericgsmith CreditAttribution: ericgsmith at Cameron and Wilding Ltd commentedPatch attached.
Comment #4
donutdan4114 CreditAttribution: donutdan4114 at Bonify commentedThanks for another patch!