getArticle($this->getRouteParams('id')); $this->getBreadcrumbs()->addBreadcrumb( $article->getTitle(), $article->getUrl() ); $this->pushToStash('article', [ 'subtitle' => 'TODO: Subtitle', 'title' => $article->getTitle(), 'lead' => $article->getExcerpt(), 'text' => $article->getText(), 'image' => [ 'src' => $article->getImage()->getImageUrl(), 'width' => $article->getImage()->getWidth(), 'height' => $article->getImage()->getHeight(), 'alt' => 'lorem ipsum', ], ]); } protected function getTemplate(): string { return '04_templates/t-article/t-article.twig'; } }