You are here

function _mobile_switch_block_content_options in Mobile Switch Block 7.2

Same name and namespace in other branches
  1. 6 mobile_switch_block.module \_mobile_switch_block_content_options()
  2. 7 mobile_switch_block.module \_mobile_switch_block_content_options()

Helper function to get block content options.

See also

mobile_switch_block_form_mobile_switch_advanced_settings_form_alter()

mobile_switch_block_block_configure()

2 calls to _mobile_switch_block_content_options()
mobile_switch_block_block_configure in ./mobile_switch_block.module
Implements hook_block_configure().
mobile_switch_block_form_mobile_switch_advanced_settings_form_alter in ./mobile_switch_block.module
Implements hook_form_FORM_ID_alter().

File

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

Code

function _mobile_switch_block_content_options() {
  return array(
    'link' => t('Only the switch link'),
    'message_link' => t('Message and switch link'),
  );
}