function context_condition_language::execute

cis7 context_condition_language.inc context_condition_language::execute($value)
cle7 context_condition_language.inc context_condition_language::execute($value)
elmsmedia7 context_condition_language.inc context_condition_language::execute($value)
icor7 context_condition_language.inc context_condition_language::execute($value)
meedjum_blog7 context_condition_language.inc context_condition_language::execute($value)
mooc7 context_condition_language.inc context_condition_language::execute($value)

File

sites/all/modules/ulmus/context/plugins/context_condition_language.inc, line 11

Class

context_condition_language
Expose current language as a context condition.

Code

function execute($value) {
  foreach ($this->get_contexts($value) as $context) {
    $this->condition_met($context, $value);
  }
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.