public function createComponent($pres, $name)
 {
     //	$cache = $this->getEntityCache();
     //	$data = $cache->load(self::MENU_CONTROL);
     //	if ($data === null) {
     $c = new MenuControl($pres, $name);
     $c->setLabel($this->translator->translate("system.categoryMenu.label"));
     $gs = $this->getGroups();
     $tmp = array_filter($gs, function ($e) {
         if ($e->getParent() == null) {
             return true;
         }
         return false;
     });
     $tmp = $tmp[0];
     $rootNode = $c->addNode($tmp->getName(), $pres->link($this->linkModuleHelper($pres), $tmp->getAbbr()), FALSE, array(), $tmp->getAbbr());
     if ($pres->getParam('abbr') === null && $tmp->getAbbr() == $pres::ROOT_GROUP) {
         $c->setCurrentNode($rootNode);
     }
     $this->iterateChildren($tmp, $rootNode, $pres, $c);
     //	    $data = $c;
     //	    $opts = [Cache::TAGS=>[self::MENU_CONTROL, self::ENTITY_COLLECTION]];
     //	    $cache->save(self::MENU_CONTROL, $data, $opts);
     //	}
     return $c;
 }