You are here

function context_reaction_debug::settings_form in Context 7.3

Settings form for variables.

Overrides context_reaction::settings_form

File

plugins/context_reaction_debug.inc, line 18

Class

context_reaction_debug
Output context debug information.

Code

function settings_form() {
  $form = array();
  $form['context_reaction_debug_enable_global'] = array(
    '#title' => t('Enable debug reaction on all contexts'),
    '#type' => 'checkbox',
    '#default_value' => variable_get('context_reaction_debug_enable_global', FALSE),
    '#description' => t('Enable the debug reaction on all contexts.'),
  );
  return $form;
}