This project is not covered by Drupal’s security advisory policy.
Entity Variant allows Drupal content entities, such as nodes, to have multiple site-specific or taxonomy-specific variations without creating duplicate content. Each variant is linked to an original entity and a taxonomy term representing the target site, location, audience, or other classification.
Variants can override selected fields, formatted content, and paragraph-based content while preserving the original entity as the default fallback. This makes it possible to maintain shared content centrally while customizing only the portions that need to differ.
The module is designed for multisite installations. For example, a single homepage can have separate variants for different real-estate websites, with each site using its own logo, hero text, background image, branding, calls to action, and paragraph content. When the frontend requests content for a specific site, the matching variant can be resolved and returned. If no matching variant exists, the original entity content is used.
Administrators can configure which content bundles support variants, create and edit variants, manage variant revisions, restore previous revisions, and control access through dedicated permissions. The module also provides an API endpoint for resolving the appropriate variant for an entity, making it suitable for Drupal backends serving headless and decoupled frontends.
Project information
- Project categories: Content editing experience, Decoupled, Developer tools
- By jcontreras on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
