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

Date tokens do not handle all date types

$
0
0

system_token_info and system_tokens() only provide the 'short', 'medium' or 'long' type tokens, but do not use system_get_date_types() to define what tokens are available. Therefore any module-defined or custom date types do not get tokens. I'm working on adding this support in Token.module for Drupal 7 in the meantime, but we should fix this is core as well.


Viewing all articles
Browse latest Browse all 300626

Trending Articles



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