Context ctools conditions

Categories

Component ID

2345775

Component name

Context ctools conditions

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

I found a need to use Context to filter on ctools pages and panels, so I created a module that includes a plugin with these conditions. Hopefully others will find it helpful too.

This module gives you conditions that check whether or not the user is viewing a page/panel, and specifically on the value of the "Disable Drupal blocks/regions" checkbox that appears on the General tab of a page variant. Although certainly there could be a couple more options such as filtering on the machine name or CSS ID, I haven't added them because I didn't need them. But I'm open to feature requests.