Advertising sustains the DA. Ads are hidden for members. Join today
Drupal APIs
- Access Policy API
- AJAX API
- Authentication API
- Batch API
- Block API
- Cache API
- (deprecated) CKEditor 4 API
- CKEditor 5 API
- Configuration API
- Database API
- Entity API
- Filter API
- Form API
- JavaScript API
- Layout API
- Logging API
- Menu API
- Middleware API
- Migrate API
- Plugin API
- RESTful Web Services API
- Render API
- Responses
- Routing system
- Runtime Assertions
- Serialization API
- Services and dependency injection
- State API
- Text Editor API
- Tour API
- Translation API
- Typed Data API
- Update API
- Command-Line Interface (CLI) API
- HTMX
- Icon API
- Token API
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.