Views Entity Rules

Categories

Component ID

2307001

Component name

Views Entity Rules

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

1128

Component created

Component changed

Component body

This module allows to define view field visibility rules.

How to use

  • Using Entity Rules module, create a rule of type "Views field visibility".
  • In this rule, set value of "Show field" variable to FALSE if the field should be hidden in the particular row of the view.
  • Add "Field visibility rule" filter to the view and select the field to show or hide and the created rule.

For every row of the view result, the base entity of the result will be passed to the rule. If you need to pass another entity, select the relationship in the filter settings.