function TextProcessed::getRenderer
Same name in other branches
- 9 core/modules/text/src/TextProcessed.php \Drupal\text\TextProcessed::getRenderer()
- 8.9.x core/modules/text/src/TextProcessed.php \Drupal\text\TextProcessed::getRenderer()
- 10 core/modules/text/src/TextProcessed.php \Drupal\text\TextProcessed::getRenderer()
Returns the renderer service.
Return value
\Drupal\Core\Render\RendererInterface
File
-
core/
modules/ text/ src/ TextProcessed.php, line 108
Class
- TextProcessed
- A computed property for processing text with a format.
Namespace
Drupal\textCode
protected function getRenderer() {
return \Drupal::service('renderer');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.