I haven't found any traces of filter_process_text() in the current codebase.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | 2897936-9.patch | 1.04 KB | somepal |
| #2 | FilterInterface-refer-non-existent-function-2897936-2.patch | 1 KB | arunkumark |
I haven't found any traces of filter_process_text() in the current codebase.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | 2897936-9.patch | 1.04 KB | somepal |
| #2 | FilterInterface-refer-non-existent-function-2897936-2.patch | 1 KB | arunkumark |
Comments
Comment #2
arunkumark@Chi thanks for rising issue.
In Drupal 8.x we won't have
filter_process_text(). If we want to use process text, there is a field format called processed_text. This will help to sanitize the texts.So I have created a patch for that will helps to remove the improper documentations.
Comment #3
chi commentedWell, I could not find this function in Drupal 7 as well. Do you happen to know when it was removed?
Comment #4
arunkumarkNot only the Drupal 7,
filter_process_text()won't avail on Drupal 6 also.Comment #5
chi commentedThanks.
Comment #7
star-szrGood catch! Maybe these should be changed to reference
\Drupal\filter\Plugin\FilterInterface::process()instead of being removed.It looks like these references were added in #2217877-18: Text filters should be able to add #attached, #post_render_cache, and cache tags (first patch on that issue) and as far as I can tell the function never existed in core.
Comment #8
idebr commentedUpdating status to 'Needs work' per #7
Comment #9
somepal commentedNo actual call to filter_process_text() found, Done as per #7
Comment #10
somepal commentedComment #11
idebr commented@somepal Thanks for working on this issue!
The changes in the patch change all references of the non-existent function
filter_process_text()to\Drupal\filter\Plugin\FilterInterface::process()in line with the suggestion by Cottser in #7Comment #14
xjmI grepped and confirmed these are the only remaining references. Thanks!
Committed to 8.5.x, and backported to 8.4.x as a docs fix.
Comment #15
chi commentedOut of curiosity, what does
mobile-novicestand for?Comment #16
somepal commented@xjm Thanks. Its my first patch which got committed in a while.