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.

Webform is supported since 2.2.0 via an included submodule.

Disclosure: AI is used to write and test code, as well as to evaluate bug reports. All with human oversight.

Project information

Releases