- Issue created by @joachim
- Merge request !11Resolve #3493353 "Inactive link tokens use current entity" → (Open) created by joachim
If I use a token like [node:title] in the link label for the 'next' link, then that is replaced with the title of the node that the link leads to.
Except if I look at the last node in the list, where the link is rendered as text. In this case, the token is replaced with the title of the *current* entity.
This is caused by this:
protected function detokenize($string, $entity) {
if (is_null($entity)) {
$entity = $this->getEntity();
}
Active
2.0
Code