/**
  * Executes loadMenuManager action
  *
  */
 public function executeLoadMenuManager($request)
 {
     $toolbarFile = $request->hasParameter('toolbarFile') ? $this->getRequestParameter('toolbarFile') : 'tbMenuManager';
     if ($toolbarFile == '') {
         $toolbarFile = 'tbMenuManager';
     }
     if (substr($toolbarFile, strlen($toolbarFile) - 4, 4) != '.yml') {
         $toolbarFile .= '.yml';
     }
     if ($toolbarFile != '' && !file_exists(w3sCommonFunctions::getConfigurationFilePath($toolbarFile) . $toolbarFile)) {
         $toolbarFile = 'tbMenuManager.yml';
     }
     $mode = $request->hasParameter('mode') ? $this->getRequestParameter('mode') : 'full';
     if ($mode == '') {
         $mode = 'full';
     }
     $menu = new w3sMenuManager('w3s_menu_manager', $toolbarFile, $this->getUser());
     return $this->renderText($menu->renderMenuManager($mode));
 }