You are here

function context_condition_sitewide::execute in Context 6.3

Same name and namespace in other branches
  1. 6 plugins/context_condition_sitewide.inc \context_condition_sitewide::execute()
  2. 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);
  }
}