function quicktabs_get_blocks in Quick Tabs 5
Same name and namespace in other branches
- 6.3 includes/admin.inc \quicktabs_get_blocks()
- 6 quicktabs.module \quicktabs_get_blocks()
- 6.2 includes/admin.inc \quicktabs_get_blocks()
- 7.3 quicktabs.admin.inc \quicktabs_get_blocks()
- 7.2 includes/admin.inc \quicktabs_get_blocks()
1 call to quicktabs_get_blocks()
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;
}