function express_dashboard_user_express_dashboard in Express 7.2
Implements hook_express_dashboard().
Adding user Dashboard.
File
- modules/
custom/ express_dashboards/ express_dashboard_user/ express_dashboard_user.module, line 27
Code
function express_dashboard_user_express_dashboard($variables) {
$variables['user'] = array(
'title' => 'User',
'callback' => 'express_dashboard_user_content',
'weight' => -99,
'access arguments' => array(
'use user dashboard',
),
);
return $variables;
}