function context_condition_sitewide::editor_form in Context 6
Same name and namespace in other branches
- 6.3 plugins/context_condition_sitewide.inc \context_condition_sitewide::editor_form()
- 7.3 plugins/context_condition_sitewide.inc \context_condition_sitewide::editor_form()
Context editor form for conditions.
Overrides context_condition::editor_form
File
- plugins/
context_condition_sitewide.inc, line 11
Class
- context_condition_sitewide
- Simple sitewide context, always present.
Code
function editor_form($context = NULL) {
$form = parent::editor_form($context);
$form[1]['#title'] = t('Always active');
$form['#weight'] = -10;
return $form;
}