function hook_panels_dashboard_blocks in Panels 7.3
Allow modules to adjust the rendering array of the panels dashboard.
Parameters
array $vars: The output variables.
3 functions implement hook_panels_dashboard_blocks()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- panels_mini_panels_dashboard_blocks in panels_mini/
panels_mini.module - Implementation of hook_panels_dashboard_blocks().
- panels_node_panels_dashboard_blocks in panels_node/
panels_node.module - Implementation of hook_panels_dashboard_blocks().
- panels_panels_dashboard_blocks in includes/
callbacks.inc - Implementation of hook_panels_dashboard_blocks().
1 invocation of hook_panels_dashboard_blocks()
- template_preprocess_panels_dashboard in includes/
callbacks.inc
File
- ./
panels.api.php, line 95 - Hooks provided by Panels.
Code
function hook_panels_dashboard_blocks(&$vars) {
$vars['links']['panels_node'] = array(
'title' => l(t('Panel node'), 'node/add/panel'),
'description' => t('Panel nodes are node content and appear in your searches, but are more limited than panel pages.'),
'weight' => -1,
);
}