This module allows you to display a fallback field's content when a primary field is empty. It is compatible with both Field UI and Layout Builder.
This module provides a formatter which is able to render a fallback field if the actual field is empty. It supports Field UI and also Layout Builder.
Important:
- If the current user does not have access to the field (which is utilizing Field Fallback Formatter to create the output), then neither the field, nor its fallback field gets rendered.
- If the current user has access to the main field, but not to the fallback field, and the main field is empty, then nothing gets rendered.
Drupal 10–11
Ask your assistant about Field Fallback Formatter
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
- field Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.0 | Stable | 10–11 | Jun 5, 2024 | ||
| 1.0.0-beta1 | Pre-release | 10–11 | Jun 5, 2024 | ||
| 1.0.0-alpha1 | Pre-release | 10–11 | May 15, 2024 | ||
| 1.x-dev | Dev | 10–11 | May 14, 2024 |