Skip to content

Commit

Permalink
add new dashboard group
Browse files Browse the repository at this point in the history
  • Loading branch information
Charley Maillot committed Aug 30, 2011
1 parent 6542ffa commit 97cd9d6
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,14 @@ public function process(ContainerBuilder $container)
$groups = $settings['dashboard_groups'];

foreach ($groups as $group_name => $group) {

if (!isset($groupDefaults[$group_name])) {
$groupDefaults[$group_name] = array(
'items' => array(),
'label' => $group_name
);
}

if (empty($group['items'])) {
$groups[$group_name]['items'] = $groupDefaults[$group_name]['items'];
}
Expand Down

0 comments on commit 97cd9d6

Please sign in to comment.