[ 'html_response_attachment_placeholders' => [], 'placeholders' => [], ], ]; $this->addCacheableDependency(CacheableMetadata::createFromRenderArray($content)); $this->setAttachments($content['#attached']); $content = $content['#markup']; } return parent::setContent($content); } }