Exemplo n.º 1
0
 /**
  * @dontverifyrequesthash
  *
  * @throws \TYPO3\CMS\Extbase\Mvc\Exception\NoSuchArgumentException
  * @throws \TYPO3\CMS\Extbase\SignalSlot\Exception\InvalidSlotException
  * @throws \TYPO3\CMS\Extbase\SignalSlot\Exception\InvalidSlotReturnException
  */
 public function editAction()
 {
     if ($this->settings['debug']) {
         echo '<!--';
         var_dump($this->mailChimpService->getSubscriptionInfo($this->request->getArgument('email')));
         echo '-->';
     }
     $form = $this->mailChimpService->getForm($this->request->getArgument('email'));
     $this->view->assign('language', $GLOBALS['TSFE']->sys_language_uid);
     $this->view->assign('languageIso', strtolower($GLOBALS['TSFE']->sys_language_isocode));
     $this->view->assign('pageId', $GLOBALS['TSFE']->id);
     $this->view->assign('contentId', $this->configurationManager->getContentObject()->data['uid']);
     $this->view->assign('form', $form);
     $this->view->assign('pageType', $this->getPageType());
     $this->signalSlotDispatcher->dispatch(__CLASS__, 'beforeRenderView', array($form, $this->view, $this));
 }