Linode VPS Hosting, Starting at $19.95/month!

Get 2GB of Free Space from Dropbox

You are here


The Token module is a key component for some modules and allows for smaller bits of information to be passed between modules with placeholders. This allows for the information to be placed into larger documents dynamically. Token module is part of Drupal 7 core!

Tokens are small bits of text that can be placed into larger documents via simple placeholders, like %site-name or [user]. The Token module provides a central API for modules to use these tokens, and expose their own token values.

Note that Token module doesn't provide any visible functions to the user on its own, it just provides token handling services for other modules.

For Drupal 6, the Token module provides a "Token Actions" module which can be enabled separately. This provides several "actions" for the Drupal core Actions/Trigger modules to use that take advantage of the Token replacement functionality.

Modules that use the Token module and provide tokens via the API include Organic Groups, Pathauto, eCommerce, and Ubercart. Also check out the full list of modules that use or provide tokens or the list of open issues tagged with 'token'.

Report any problems you find so that we can release a stable version.

Token is co-maintained by eaton and greggles and mikeryan and davereid.

#D7CX: The basic token API is now a part of Drupal 7! Unfortunately, other things like the a browsable token UI, and field & profile tokens did not make it into core and will be supported here for Drupal 7.

#D7AX - I pledge to make this module as accessible as it can be. If you find any flaws, please submit an issue and tag it D7AX. Help me fix them if you can.

Available Releases: 
Friday, July 31, 2009 - 21:12