public function dashboards(Environment $environment, $size)
    {
        //Checks user's rights
        $dashboards = null;
        if ($this->tokenStorage->getToken()->getUser() !== null) {
            //Defines installed dashboards
            $dashboardsAvailable = array('ContactForm', 'Email', 'Events', 'ExceptionChecker', 'GiftVoucher', 'PageEdit', 'Payment', 'PurchaseCredits', 'Site', 'User');
            foreach ($dashboardsAvailable as $dashboardAvailable) {
                //Checks if the bundle is installed
                if (is_dir($this->container->getParameter('kernel.root_dir') . '/../vendor/c975l/' . strtolower($dashboardAvailable) . '-bundle') &&
                    //Checks if roleNeeded for that dashboard is defined
                    $this->configService->hasParameter('c975L' . $dashboardAvailable . '.roleNeeded') &&
                    //Checks if User has good roleNeeded for that dashboard
                    $this->container->get('security.authorization_checker')->isGranted($this->configService->getParameter('c975L' . $dashboardAvailable . '.roleNeeded'))
                )
                {
                    $dashboards[] = strtolower($dashboardAvailable);
                }
            }
        }

        //Defines toolbar
        return $environment->render('@c975LToolbar/dashboards.html.twig', array(
                'dashboards' => $dashboards,
                'size' => $size,
            ));
    }