Documentation for FilterProcessResult refers to:

return new FilterProcess($text);

Which should be:

return new FilterProcessResult($text);

https://api.drupal.org/api/drupal/core!modules!filter!src!FilterProcessR...

CommentFileSizeAuthor
#3 2667288-3.patch574 bytesfelribeiro
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sime created an issue. See original summary.

jhodgdon’s picture

Issue tags: +Novice

Good catch. Problem also exists in another @code block a bit lower down.

felribeiro’s picture

Status: Active » Needs review
FileSize
574 bytes
jhodgdon’s picture

Status: Needs review » Reviewed & tested by the community

Thanks, that was quick!

sime’s picture

:)

catch’s picture

Status: Reviewed & tested by the community » Fixed

Committed/pushed to 8.1.x and cherry-picked to 8.0.x. Thanks!

  • catch committed f1d7485 on 8.1.x
    Issue #2667288 by felribeiro: FilterProcessResult docs refers to class...

  • catch committed 454fcb5 on 8.0.x
    Issue #2667288 by felribeiro: FilterProcessResult docs refers to class...
Wim Leers’s picture

Thank you, good catch :)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.