Part of the Token ecosystem · 21 projects
This module enhances the token system by allowing multiple tokens or strings to be evaluated with "OR" logic, returning the first non-empty value. It can be used to provide fallback options for dynamic content.
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.
Ask your assistant about Token OR
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
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
More in the Token ecosystem
Most installed first