protected function MarkdownBenchmark::renderer in Markdown 3.0.x
Retrieves the Renderer service.
Return value
\Drupal\Core\Render\RendererInterface
File
- src/
MarkdownBenchmark.php, line 266
Class
- MarkdownBenchmark
- Class MarkdownBenchmark.
Namespace
Drupal\markdownCode
protected function renderer() {
if (static::$renderer === NULL) {
static::$renderer = \Drupal::service('renderer');
}
return static::$renderer;
}