You are here

function mobile_switch_block_block_configure in Mobile Switch Block 7.2

Same name and namespace in other branches
  1. 7 mobile_switch_block.module \mobile_switch_block_block_configure()

Implements hook_block_configure().

File

./mobile_switch_block.module, line 317
Extends the Mobile Switch module with an theme switch block.

Code

function mobile_switch_block_block_configure($delta = '') {
  $form['mobile_switch_block_content'] = array(
    '#type' => 'select',
    '#title' => t('Block content'),
    '#default_value' => variable_get('mobile_switch_block_content', 'link'),
    '#options' => _mobile_switch_block_content_options(),
  );
  return $form;
}