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.

CommentFileSizeAuthor
token_0.patch1.73 KBv1nce

Comments

avpaderno’s picture

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.

dave reid’s picture

Status: Needs review » Fixed

Use theme('token_tree', array('node'), FALSE, TRUE) with the latest 6.x-1.x code. This will not get fixed for 5.x-1.x.

dave reid’s picture

Category: feature » support

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.