Skip to content

Token OR and Drupal 11

Ready

The latest stable release, 2.3.2, declares a core version requirement of ^9.2 || ^10 || ^11, which covers Drupal 11.

This module extends the token module to use "OR" logic within a single token. It returns the first token or string that is not empty. [node:field_og_image:entity:url|node:field_header_image:entity:url|"https://www.drupal.org/files/drupal-wordmark.png"] Requires the token module. Since 2.2.0, this module supports Webform via a submodule.

Key facts

Project
token_or
Latest stable with Drupal 11 support
2.3.2 (27 May 2025)
Core version requirement
^9.2 || ^10 || ^11
Maintenance status
Actively maintained
Reported installs
13,441
Last synced from drupal.org
21 Sept 2026

Every field above comes from the drupal.org API. The Drupal 11 status is derived from the core version requirement across this project's releases.

Source: drupal.org/project/token_or