/** * {@inheritdoc} */ public function getLayoutBody() { $body = ''; if ($this->layout instanceof Layout) { $this->layout->setLocale($this->locale); $body = $this->layout->getBody(); } return $body; }