You are here

function mobile_detect_block_info in Mobile Detect 7

Implements function hook_block_info().

File

./mobile_detect.module, line 147
Lightweight mobile detection based on the Mobile_Detect.php library.

Code

function mobile_detect_block_info() {
  $blocks = array();
  $blocks['mobile_detect_simple_debug'] = array(
    'info' => t('Mobile Detect Simple Debug'),
    'cache' => DRUPAL_NO_CACHE,
  );
  $blocks['mobile_detect_full_debug'] = array(
    'info' => t('Mobile Detect Full Debug'),
    'cache' => DRUPAL_NO_CACHE,
  );
  return $blocks;
}