function context_condition::condition_form in Context 6
Same name and namespace in other branches
- 6.3 plugins/context_condition.inc \context_condition::condition_form()
- 7.3 plugins/context_condition.inc \context_condition::condition_form()
Condition form.
3 calls to context_condition::condition_form()
- context_condition_menu::condition_form in plugins/
context_condition_menu.inc - Override of condition_form(). Use multiselect widget.
- context_condition_node_taxonomy::condition_form in plugins/
context_condition_node_taxonomy.inc - Condition form.
- context_condition_path::condition_form in plugins/
context_condition_path.inc - Condition form.
3 methods override context_condition::condition_form()
- context_condition_menu::condition_form in plugins/
context_condition_menu.inc - Override of condition_form(). Use multiselect widget.
- context_condition_node_taxonomy::condition_form in plugins/
context_condition_node_taxonomy.inc - Condition form.
- context_condition_path::condition_form in plugins/
context_condition_path.inc - Condition form.
File
- plugins/
context_condition.inc, line 48
Class
- context_condition
- Base class for a context condition.
Code
function condition_form($context) {
return array(
'#title' => $this->title,
'#description' => $this->description,
'#options' => $this
->condition_values(),
'#type' => 'checkboxes',
'#default_value' => $this
->fetch_from_context($context, 'values'),
);
}