You are here

function context_reaction_block::settings_form in Context 7.3

Same name and namespace in other branches
  1. 6.3 plugins/context_reaction_block.inc \context_reaction_block::settings_form()
  2. 6 plugins/context_reaction_block.inc \context_reaction_block::settings_form()

Settings form for variables.

Overrides context_reaction::settings_form

File

plugins/context_reaction_block.inc, line 196

Class

context_reaction_block
Expose blocks as context reactions.

Code

function settings_form() {
  $form = array();
  $form['context_reaction_block_all_regions'] = array(
    '#title' => t('Show all regions'),
    '#type' => 'checkbox',
    '#default_value' => variable_get('context_reaction_block_all_regions', FALSE),
    '#description' => t('Show all regions including those that are empty. Enable if you are administering your site using the inline editor.'),
  );
  return $form;
}