Part of the Token ecosystem · 21 projects
This module allows you to use Drupal tokens, like the site name, as an input filter within text fields. It makes token replacement available in areas where tokens might not normally function.
Token Filter is a very simple module to make token values available as an input filter.
This doesn't mean that all tokens will work in every location. For example, if you use a [node:field_foo] token in the text of a block, the token system will not know which node you are referring to and will not replace the token.
It is up to you when you are implementing this module to be aware of the context for token usage and use them appropriately.
The Context Stack module may assist you with replacing tokens you don't otherwise have access to.
Drupal 10+
2.x issues are actively monitored so please get involved.
Drupal 7
The module now supports native tokens (e.g. [site:name]) and all global tokens by default. It even allows some contextual tokens like node or user to be replaced, but currently does not encourage users to use them in the filter help text.
Credits
The Drupal 6 version of this project (no longer supported) was sponsored by Nuvole and Youth Agora.
Ask your assistant about Token Filter
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- Token
- filter Drupal core
Required by
4 tracked projects depend on this one
- Drupal Website Development 14 sites
- Cucumber Core 4 sites
- TokenLink 1 sites
- My Opinion
More in the Token ecosystem
Most installed first