You are here

function context_condition_language::condition_values in Context 7.3

Same name and namespace in other branches
  1. 6.3 plugins/context_condition_language.inc \context_condition_language::condition_values()
  2. 6 plugins/context_condition_language.inc \context_condition_language::condition_values()

Condition values.

Overrides context_condition::condition_values

File

plugins/context_condition_language.inc, line 7

Class

context_condition_language
Expose current language as a context condition.

Code

function condition_values() {
  return module_exists('locale') ? locale_language_list() : array();
}