Example #1
0
 /**
  * @param ViewInterface $view
  * @return void
  */
 public function initializeView(ViewInterface $view)
 {
     $record = $this->getRecord();
     $this->configurationManager->getContentObject()->data = $record;
     parent::initializeView($view);
     $this->response->addAdditionalHeaderData((string) $this->view->renderStandaloneSection('HeaderCode', $this->provider->getTemplateVariables($record), true));
 }