Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Token Filter

Security covered Maintenance fixes only 59,157 sites

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.

Drupal 10–11 PHP >=8.1

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

Activity

Tracked releases
6
Tracked since
Feb 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
2.2.1 Stable 10–11 PHP >=8.1 Jun 23, 2024
2.1.1 Stable 9–10 Jun 23, 2024
2.1.x-dev Dev 9–10 Jun 23, 2024
2.2.0 Stable 10–11 PHP >=8.1 May 28, 2024
2.1.0 Stable 9–10 Oct 24, 2023
2.0.0 Stable 9–10 Feb 7, 2023