You are here

function _menu_block_block_list in Menu Block 5.2

Same name and namespace in other branches
  1. 5 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 103
Provides infrequently used functions for menu_block.

Code

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