Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This project is not covered by Drupal’s security advisory policy.
Adds conditions to field formatters. Configuration happens on the "Manage Display" screens of every entity type on a per field basis when clicking on the cogwheel on the right.
Supports
- Rules
- Field API fields
- Display Suite fields (only branch 2)
Simple conditions and actions
- Hide source field when target field is empty.
- Hide source field when target field is not empty.
- Hide source field when current user has specific roles.
- Hide source field on specific pages.
- Hide source field when target field contains a specific string.
- Hide source field when target field doesn't contain a specific string.
- Hide link field if title is empty.
- Hide date field if from/to has expired.
Rules actions
- Hide a field.
- Change image style.
Rules should always be a 'A field is rendered' event before they can be selected in the conditions dropdown on the "Manage Display" screens per field.
Dependencies
Comparison with Conditional Fields
- CF uses a complete separate interface.
- CF uses the States API on forms. FFC will never act on forms.
- FFC has support for other fields.
Articles and videos
- http://realize.be/introducing-field-formatter-conditions-drupal
- http://webwash.net/videos/using-field-formatter-conditions-module
Co-maintainer
Project information
- Seeking new maintainer
The current maintainers are looking for new people to take ownership. - Module categories: Content Display, Site Structure, Automation
- 1,436 sites report using this module
- Created by swentel on , updated
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
Releases
7.x-1.0-beta2
released 20 February 2013
Works with Drupal: 7.x
✓ Recommended by the project’s maintainer.
Development version: 7.x-1.x-dev updated 8 Oct 2012 at 00:22 UTC