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.
Updated: Comment #0
Problem/Motivation
The _editor_get_processed_text_fields()
assumes that only "configurable fields use text processing.
Taxonomy description and probably other base fields could use text fields for base fields.
Also we are going to remove "configurable" setting from field definition in #2191709: Remove the "configurable" flag on field types
Proposed resolution
Properly iterate over entity fields for text_processing
setting or check that provider of the field is text module.
Remaining tasks
Find right way to implement this function.
User interface changes
no
API changes
no
Comment | File | Size | Author |
---|---|---|---|
#2 | 2218219-text-processing-2.patch | 1.38 KB | andypost |
#2 | interdiff.txt | 408 bytes | andypost |
#1 | 2218219-text-processing-1.patch | 1.14 KB | andypost |
Comments
Comment #1
andypostSuppose this one is enough for start
Comment #2
andypostAlso remove unused
use
statementComment #3
BerdirAwesome cleanup!
Yes, taxonomy terms now have a text field as a base field, so we should support this there and other similar cases.
Comment #4
Wim LeersVery nice clean-up indeed :) RTBC++
Thanks!
Comment #5
BerdirComment #6
alexpottCommitted 99c739a and pushed to 8.x. Thanks!