Token_replace should only be used if token is enabled, and should not be a dependency for empty_fields.

CommentFileSizeAuthor
#1 remove_token_dependency-1696794-1.patch987 bytesrypit
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rypit’s picture

Attached is a patch to use token only if it's enabled. Olive branch!

Alan D.’s picture

Status: Active » Closed (works as designed)

Tokens are provided by core in D7, see "includes/token.inc"!

But yes, implementing the token tree would require this wrapper :)