function mobile_switch_block_theme in Mobile Switch Block 7
Same name and namespace in other branches
- 6 mobile_switch_block.module \mobile_switch_block_theme()
 - 7.2 mobile_switch_block.module \mobile_switch_block_theme()
 
Implements hook_theme().
File
- ./
mobile_switch_block.module, line 165  - Extends the Mobile Switch module with an theme switch block.
 
Code
function mobile_switch_block_theme() {
  return array(
    'mobile_switch_block_switch_content' => array(
      'template' => 'mobile-switch-block-switch-content',
      'render element' => 'content',
    ),
  );
}