You are here

function context_field_context_condition::condition_values in Context Field 7

Condition values.

Overrides context_condition::condition_values

File

plugins/context_field_context_condition.inc, line 11
context_field_context_condition.inc

Class

context_field_context_condition
Expose node views/node forms of specific node types as a context condition.

Code

function condition_values() {

  // needs to return array of nid => titles
  $values = array();
  $values = array(
    1 => t('Yes'),
    2 => t('Default'),
  );
  return $values;
}