function context_condition_sitewide::execute in Context 6
Same name and namespace in other branches
- 6.3 plugins/context_condition_sitewide.inc \context_condition_sitewide::execute()
- 7.3 plugins/context_condition_sitewide.inc \context_condition_sitewide::execute()
File
- plugins/
context_condition_sitewide.inc, line 18
Class
- context_condition_sitewide
- Simple sitewide context, always present.
Code
function execute($value) {
foreach ($this
->get_contexts($value) as $context) {
$this
->condition_met($context, $value);
}
}