Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I might be misunderstanding this, but I can't see Context module assigning any variables that can use used by themers in either templates or preprocess functions.
[I used devel_themer module to check this].
It would be useful is some variable was set for page.tpl.php or node.tpl.php declaring which contexts were active so that some extra work could be done on the theme layer.
Regards
Alan
Comments
Comment #1
yhahn CreditAttribution: yhahn commentedContext doesn't add variables for this in page.tpl.php but it's very easy to check for an active context yourself by using the context API functions: