Context fields

Component ID

1269798

Component name

Context fields

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

In Drupal 7 this module adds context 3.x conditions for the values of fields on the main entity being viewed / edited. Currently only works with nodes, but in principle could be made to work with any entity.

It attempts to use entity module's entity property metadata api for grabbing the values of fields.

There is some naive special-case handling of reference fields, allowing the bundle of the referenced entity to be used as the condition, rather than the value of the field.

Some relevant issues on the Context queue:
- #629756: CCK text and number conditions using content_allowed_values().