Allow the global tokens to be disabled

v1nce - March 3, 2009 - 16:37
Project:Token
Version:5.x-1.11
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review
Description

When displaying tokens to end users, api should not add global tokens by default without ability for other module developers to disable them.

Attached patch takes one approach to include global tokens within the 'all' token $type.

AttachmentSizeStatusTest resultOperations
token_0.patch1.73 KBIgnoredNoneNone

#1

kiamlaluno - June 24, 2009 - 10:52
Title:Enable Global Tokens to be disabled» Allow the global tokens to be disabled

If it is going to be implemented for global tokens, then it could be implemented for the other tokens as well.

 
 

Drupal is a registered trademark of Dries Buytaert.