function panels_dashboard_final_blocks in Panels 6.3
Same name and namespace in other branches
- 7.3 includes/callbacks.inc \panels_dashboard_final_blocks()
1 call to panels_dashboard_final_blocks()
- template_preprocess_panels_dashboard in includes/callbacks.inc
File
- includes/callbacks.inc, line 14
- callbacks.inc
Minor menu callbacks for Panels helpers.
Code
function panels_dashboard_final_blocks(&$vars) {
if (empty($vars['links']['page_manager'])) {
$vars['links']['page_manager'] = array(
'weight' => -100,
'title' => t('Panel page'),
'description' => '<em>' . t('You must activate the page manager module for this functionality.') . '</em>',
);
}
if (empty($vars['links']['panels_mini'])) {
$vars['links']['panels_mini'] = array(
'title' => t('Mini panel'),
'description' => '<em>' . t('You must activate the Mini panels module for this functionality.') . '</em>',
);
}
if (empty($vars['links']['panels_node'])) {
$vars['links']['panels_mini'] = array(
'title' => t('Panel node'),
'description' => '<em>' . t('You must activate the panel node module for this functionality.') . '</em>',
);
}
}