/** * action update * * @param array $storage * @return void */ public function updateAction($storage) { $this->storageRepository->update($storage); $this->generateAction(); $this->addFlashMessage(\TYPO3\CMS\Extbase\Utility\LocalizationUtility::translate('tx_mask.page.updatedpage', 'mask')); $this->redirectByAction(); }
/** * action update * * @param array $storage * @return void */ public function updateAction($storage) { $this->storageRepository->update($storage); $this->generateAction(); $html = $this->generateHtml($storage["elements"]["key"]); // generate HTML $this->saveHtml($storage["elements"]["key"], $html); // save HTML $this->addFlashMessage(\TYPO3\CMS\Extbase\Utility\LocalizationUtility::translate('tx_mask.content.updatedcontentelement', 'mask')); $this->redirectByAction(); }