Display Suite Switch View Mode Condition

Categories

Component ID

2831579

Component name

Display Suite Switch View Mode Condition

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

This module provides nothing more than a condition plugin that checks the value of the Display Suite Switch View Mode field (ds_switch). It allows to select a set of view modes to match against the value of ds_switch on nodes. (For other entity types it would be required to specify the context mapping somehow, no idea how to do it right now.)