src/Admin/Pool.php
public function getDashboardNavigationGroups()
    {
        $groups = $this->getDashboardGroups();

        $menuGroups = $this->getContainer()->getParameter('networking_init_cms.admin_menu_groups');

        foreach ($menuGroups as $key => $menuGroup) {
            foreach ($menuGroup['items'] as $k => $item) {
                if (array_key_exists($item, $groups)) {
                    $menuGroups[$key]['sub_group'][$k] = $groups[$item];
                }
            }
        }

        return $menuGroups;
    }
public function getDashboardNavigationGroups()
    {
        $groups = $this->getDashboardGroups();

        $menuGroups = $this->getContainer()->getParameter('networking_init_cms.admin_menu_groups');

        foreach ($menuGroups as $key => $menuGroup) {
            foreach ($menuGroup['items'] as $k => $item) {
                if (array_key_exists($item, $groups)) {
                    $menuGroups[$key]['sub_group'][$k] = $groups[$item];
                }
            }
        }

        return $menuGroups;
    }
public function getDashboardNavigationGroups ( ) { $ groups = $ this -> getDashboardGroups ( ) ; $ menuGroups = $ this -> getContainer ( ) -> getParameter ( 'networking_init_cms.admin_menu_groups' ) ; foreach ( $ menuGroups as $ key => $ menuGroup ) { foreach ( $ menuGroup [ 'items' ] as $ k => $ item ) { if ( array_key_exists ( $ item , $ groups ) ) { $ menuGroups [ $ key ] [ 'sub_group' ] [ $ k ] = $ groups [ $ item ] ; } } } return $ menuGroups ; }
Get the groups of admins that will be used to display the
admin menu on the side.

@return array
Get the groups of admins that will be used to display the admin menu on the side .