As per https://www.drupal.org/node/2578365 $options['sanitize'] is no longer used in hook_tokens() and the other parts of the Token API, we should remove obsolete code.

CommentFileSizeAuthor
#2 no-token-sanitize.patch8.35 KBlongwave
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

longwave created an issue. See original summary.

longwave’s picture

Status: Active » Needs review
FileSize
8.35 KB
longwave’s picture

Status: Needs review » Fixed

  • longwave committed be55fe2 on 8.x-4.x
    Issue #2625020 by longwave: Tokens are not responsible for sanitization
    

  • longwave committed ca9e3b1 on 8.x-4.x
    Followup to issue #2625020: Tokens are not responsible for sanitization.
    

Status: Fixed » Closed (fixed)

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