public function Extension::getFunctions in Markdown 3.0.x
File
- src/
Twig/ Markdown/ Extension.php, line 51
Class
Namespace
Drupal\markdown\Twig\MarkdownCode
public function getFunctions() {
return [
'markdown' => new \Twig_SimpleFunction('markdown', [
$this,
'parse',
], [
'is_safe' => [
'html',
],
]),
];
}