function context_var_init in Context: Variable 6
Same name and namespace in other branches
- 7 context_var.module \context_var_init()
Implementation of hook_init().
File
- ./
context_var.module, line 57
Code
function context_var_init() {
// get the mapping of conditions and if they should execute
$map = context_condition_map();
if (!empty($map['context_var']) && ($plugin = context_get_plugin('condition', 'context_var'))) {
$plugin
->execute();
}
}