function context_og_context_page_condition in Context OG 7.2
Same name and namespace in other branches
- 6.3 context_og.module \context_og_context_page_condition()
- 6.2 context_og.module \context_og_context_page_condition()
- 7 context_og.module \context_og_context_page_condition()
Execute the "set group context" reaction here so that our conditions will work when they get executed. We want to come after organic groups' hook_init() so the context doesn't get switched out from under us.
File
- ./
context_og.module, line 146
Code
function context_og_context_page_condition() {
$plugin = context_get_plugin('reaction', 'context_og_reaction_set_group_context');
if ($plugin) {
$plugin
->execute();
}
}