function context_condition_node::condition_values

cis7 context_condition_node.inc context_condition_node::condition_values()
cle7 context_condition_node.inc context_condition_node::condition_values()
elmsmedia7 context_condition_node.inc context_condition_node::condition_values()
icor7 context_condition_node.inc context_condition_node::condition_values()
meedjum_blog7 context_condition_node.inc context_condition_node::condition_values()
mooc7 context_condition_node.inc context_condition_node::condition_values()

Condition values.

Overrides context_condition::condition_values

2 methods override context_condition_node::condition_values()
context_condition_node_taxonomy::condition_values in sites/all/modules/ulmus/context/plugins/context_condition_node_taxonomy.inc
Condition values.
date_context_date_condition::condition_values in sites/all/modules/ulmus/date/date_context/plugins/date_context_date_condition.inc
Condition values.

File

sites/all/modules/ulmus/context/plugins/context_condition_node.inc, line 22

Class

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

Code

function condition_values() {
  $values = array();
  foreach (node_type_get_types() as $type) {
    $values[$type->type] = check_plain($type->name);
  }
  return $values;
}