This project is not covered by Drupal’s security advisory policy.
Introduction
In some editorial cases, you need change a field output format (image style / render mode) according to the value of another field (behavior selector)
This module provide a collection of formatter which propose this fonctionnality (for Image, entity_reference,and entity_reference_revisions fields)
What I need ?
In one entity, you need :
- A boolean ou list field with defined possible values (Ex : a text_list with "alice,bob,charly" values)
- A Image / Entity Reference / Entity Revision Refenrence field whose you want modify the output render (from previous selected value)
How use it ?
Download (composer) and install the module.
In entity's "manage display" page, you can choose an "*** Multi Render" formatter.
The configuration are two steps :
- The formatter ask you to choose a "behavior selector" field between boolean or list field in the entity.
- After this selection, the formatter ask you to choose, for each possible value of the "behavior selector" field, the render mode / image style to use.
Save the display configuration.
Project information
- Seeking new maintainer
The current maintainers are looking for new people to take ownership. - Module categories: Site Structure
- 2 sites report using this module
- Created by DrDam on , updated
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.