You are here

function _menu_block_block_list in Menu Block 5

Same name and namespace in other branches
  1. 5.2 menu_block.admin.inc \_menu_block_block_list()
  2. 6.2 menu_block.admin.inc \_menu_block_block_list()

Returns the 'list' $op info for hook_block().

File

./menu_block.admin.inc, line 52

Code

function _menu_block_block_list() {
  foreach (variable_get('menu_block_enabled_blocks', array()) as $delta => $enabled) {
    if ($enabled) {
      $blocks[$delta]['info'] = _menu_block_format_title($delta);
    }
  }
  return $blocks;
}