You are here

function responsive_navigation_block_info in Responsive Navigation 7

Implements hook_block_info().

File

./responsive_navigation.module, line 46

Code

function responsive_navigation_block_info() {
  $blocks = array();
  $number = variable_get('responsive_navigation_number', 1);
  for ($i = 1; $i <= $number; $i++) {
    $blocks[$i] = array(
      'info' => variable_get('responsive_navigation_name_' . $i, 'Responsive Navigation ' . $i) . ' (responsive-nav.js)',
      'cache' => DRUPAL_NO_CACHE,
    );
  }
  return $blocks;
}