Skip to content
Snippets Groups Projects
Commit 1decbd1c authored by Ron Lucke's avatar Ron Lucke Committed by David Siegfried
Browse files

biest-664

parent 308bd662
No related branches found
No related tags found
No related merge requests found
......@@ -121,4 +121,16 @@ class Embed extends BlockType
{
return [];
}
public function pdfExport()
{
$payload = $this->getPayload();
$html = '<h5>' . sprintf(_('Block-Typ: %s'), $this->getTitle()) . '</h5>';
$html .= '<h6>' . _('Block-Daten') . ': ' . '</h6>';
$html .= '<h6>' . _('Titel') . ' => ' . $payload['title'] . '</h6>';
$html .= '<h6>' . _('Quelle') . ' => ' . $payload['source'] . '</h6>';
$html .= '<h6>' . _('URL') . ' => ' . $payload['url'] . '</h6>';
return $html;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment