Module Description
It gives the user the ability to create custom tokens for specific replacements that can improve other modules relying on the Drupal 7 token API or, for Drupal 6, the Token module.

Versions 7.x-1.x and previous relied on PHP evaluation to build custom tokens.

The new 7.x-2.x relies on input filters. While still allowing for PHP tokens through the D7 core PHP filter module, administrators can permit only HTML or plain text custom tokens.

New features in version 7.x-2.0

* Build tokens using input filters (#1336622)
* Define custom token types (#1341106)

Versions 7.x-1.x and previous
They are designed for developers with, at least, a little PHP knowledge. Custom tokens will evaluate and execute PHP snippets in order to provide the replacements for the tokens you define.

Version 8.x-1.x
For security, PHP snippets are not supported.

Related modules

* Custom Tokens Plus

Dependencies
Token

Sponsored by (versions 5.x and 6.x)
Infomagnet

Sponsored by (versions 8.x)
Drupal Geeks

Project Usage
7392
Creation Date
Changed Date
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module aims to solve the issue of creating custom tokens for specific replacements in Drupal 7 and Drupal 6, improving modules that rely on the Drupal 7 token API or the Token module.
Data Name
token_custom

OPENAI CHATBOT

OPENAI CHATBOT

12:32:40
Generic Chatbot
Hi, I'm a Drupal module expert powered by OpenAI, answering your questions about the Drupal module ecosystem. How can I be helpful today? Please note that we will log your question.