/**
  * Init
  */
 public function init()
 {
     parent::init();
     // Access restricted to ROLE_BACKEND_ADMIN
     if (false === $this->get('security.context')->isGranted('ROLE_BACKEND_ADMIN')) {
         throw new AccessDeniedHttpException('You don\'t have the privileges to view this page.');
     }
     $this->tokenRepository = $this->getEm()->getRepository('UnifikSystemBundle:Token');
     $this->tokenTranslationRepository = $this->getEm()->getRepository('UnifikSystemBundle:TokenTranslation');
     $this->localeRepository = $this->getEm()->getRepository('UnifikSystemBundle:Locale');
 }
 /**
  * Init
  */
 public function init()
 {
     parent::init();
     //        $this->getCore()->addNavigationElement($this->getSectionBundle());
 }