You are here

function context_condition_sitewide::editor_form in Context 7.3

Same name and namespace in other branches
  1. 6.3 plugins/context_condition_sitewide.inc \context_condition_sitewide::editor_form()
  2. 6 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;
}