Same name in other branches
- 7.x-2.x quicktabs.module \quicktabs_block_info()
- 7.x-3.x quicktabs.module \quicktabs_block_info()
Implements hook_block_info().
Fichier
-
./
quicktabs.module, line 61
Code
function quicktabs_block_info() {
$blocks = array();
foreach (quicktabs_load_multiple() as $qt_name => $quicktabs) {
$blocks[$qt_name]['info'] = $quicktabs->title;
$blocks[$qt_name]['cache'] = DRUPAL_NO_CACHE;
}
return $blocks;
}