You are here

function quicktabs_get_blocks in Quick Tabs 5

Same name and namespace in other branches
  1. 6.3 includes/admin.inc \quicktabs_get_blocks()
  2. 6 quicktabs.module \quicktabs_get_blocks()
  3. 6.2 includes/admin.inc \quicktabs_get_blocks()
  4. 7.3 quicktabs.admin.inc \quicktabs_get_blocks()
  5. 7.2 includes/admin.inc \quicktabs_get_blocks()
1 call to quicktabs_get_blocks()
_quicktabs_form in ./quicktabs.module

File

./quicktabs.module, line 121

Code

function quicktabs_get_blocks() {
  $blocks = _block_rehash();
  $blocksarray = array();
  foreach ($blocks as $i => $block) {
    if ($block['module'] != 'quicktabs') {
      $key = $block['module'] . '_delta_' . $block['delta'];
      $blocksarray[$key] = $block['info'];
    }
  }
  return $blocksarray;
}