Problem/Motivation

Token of a multivalue date field cannot be replaced with the actual field value at the moment. Token::findWithPrefix() fails to find a correct token as it gets confused by delta value of a multivalue date field.

Proposed resolution

As suggested by @Berdir, let's replace $tokens (delta value included) with $filtered_tokens (no delta value) as a parameter in Token::findWithPrefix() (token.tokens.inc:1686).

Remaining tasks

User interface changes

API changes

Data model changes

Comments

mbovan created an issue. See original summary.

mbovan’s picture

Switched from using $tokens to $filtered_tokens as mentioned in the proposed resolution.

mbovan’s picture