Same name in other branches
- 7.x-2.x quicktabs.module \quicktabs_block_info()
- 8.x-1.x quicktabs.module \quicktabs_block_info()
Implements hook_block_info().
Fichier
-
./
quicktabs.module, line 134
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;
}