public function MarkdownBenchmark::render in Markdown 3.0.x
Renders the object as a string.
Return value
string|object The rendered string or an object implementing __toString().
Overrides ToStringTrait::render
File
- src/
MarkdownBenchmark.php, line 256
Class
- MarkdownBenchmark
- Class MarkdownBenchmark.
Namespace
Drupal\markdownCode
public function render() {
$build = $this
->build();
return $this
->renderer()
->renderPlain($build);
}