Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 303159

Available Twig tokens in Header, Footer, No results behavior not displayed

$
0
0

When Use replacement tokens from the first row is selected in Configure Header: Global: Text area (or in Configure Footer or in Configure No results behavior since they appear to use the same code), the only available replacement tokens displayed are for the contextual filter defined for the view.

The replacement tokens from the fields defined in that view are not displayed as available tokens, although if you copy a token shown from the rewrite results of the last field, it does appear to work. So the issue with the list of available tokens displayed in the Configure Header modal.

As an aside, is there a reason why global tokens are enclosed in square brackets, like [view:title], while field replacement tokens are displayed using Twig syntax, like {{ title }}?


Viewing all articles
Browse latest Browse all 303159

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>