public function loadRegistryContributions()
 {
     $currentUser = AuthService::getLoggedUser();
     if ($currentUser != null) {
         $cData = $currentUser->getPref("CUSTOM_PARAMS");
         if ($cData != null && isset($cData["email"])) {
             $this->exposeConfigInManifest("current_user_email", $cData["email"]);
         }
     }
     $actionsBranch = $this->xPath->query("registry_contributions/actions");
     $actionsNode = $actionsBranch->item(0);
     foreach (array_map("trim", explode(",", $this->pluginConf["ACTIONS"])) as $action) {
         // Action node
         $prop = $this->manifestDoc->createElement("action");
         $attName = $this->manifestDoc->createAttribute("name");
         $attValue = $this->manifestDoc->createTextNode($action);
         $attName->appendChild($attValue);
         $prop->appendChild($attName);
         $actionsNode->appendChild($prop);
         // Pre_proc
         $preproc = $this->manifestDoc->createElement("pre_processing");
         $prop->appendChild($preproc);
         // Server callback
         $sC = $this->manifestDoc->createElement("serverCallback");
         $sAttName = $this->manifestDoc->createAttribute("methodName");
         $sAttValue = $this->manifestDoc->createTextNode("preProcess");
         $sAttName->appendChild($sAttValue);
         $sC->appendChild($sAttName);
         $preproc->appendChild($sC);
     }
     $this->reloadXPath();
     parent::loadRegistryContributions();
 }