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() (

Remaining tasks

User interface changes

API changes

Data model changes

Members fund testing for the Drupal project. Drupal Association Learn more


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

Berdir’s picture

Status: Needs review » Needs work

Needs work for tests.