You are here

function context_condition::condition_form_submit in Context 6.3

Same name and namespace in other branches
  1. 6 plugins/context_condition.inc \context_condition::condition_form_submit()
  2. 7.3 plugins/context_condition.inc \context_condition::condition_form_submit()

Condition form submit handler.

1 call to context_condition::condition_form_submit()
context_condition_menu::condition_form_submit in plugins/context_condition_menu.inc
Override of condition_form_submit(). Trim any identifier padding for non-unique path menu items.
2 methods override context_condition::condition_form_submit()
context_condition_menu::condition_form_submit in plugins/context_condition_menu.inc
Override of condition_form_submit(). Trim any identifier padding for non-unique path menu items.
context_condition_path::condition_form_submit in plugins/context_condition_path.inc
Condition form submit handler.

File

plugins/context_condition.inc, line 61

Class

context_condition
Base class for a context condition.

Code

function condition_form_submit($values) {
  ksort($values);

  // Editor forms are generally checkboxes -- do some checkbox processing.
  return drupal_map_assoc(array_keys(array_filter($values)));
}