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

https://www.drupal.org/sandbox/hargobind/2345775

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.

Module maintainers, feel free to add this code to context.module

Comments

ndf’s picture

Just created a contrib that provides a condition for the Context module if a Panel variant is rendered.
https://www.drupal.org/project/context_panels_condition