Token API

The Token API in Drupal exists to allow replacement of placeholders in text—"tokens"—with contextual values that match those placeholders.

Overview of Token API

A short introduction to Token API and what it can do.

How to use Token API

Covering the most common methods of using Token API.

Token API hooks

Details for how to use Token API's hooks.

Tokens available in Drupal core

List of tokens that are available in Drupal core.

Token upgrade guides

Information on how to upgrade Token API usage between major versions of Drupal.

Guide maintainers

geoffreyr's picture