You are here

protected function TextProcessed::getRenderer in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/text/src/TextProcessed.php \Drupal\text\TextProcessed::getRenderer()
  2. 9 core/modules/text/src/TextProcessed.php \Drupal\text\TextProcessed::getRenderer()

Returns the renderer service.

Return value

\Drupal\Core\Render\RendererInterface

1 call to TextProcessed::getRenderer()
TextProcessed::getValue in core/modules/text/src/TextProcessed.php
Gets the data value.

File

core/modules/text/src/TextProcessed.php, line 108

Class

TextProcessed
A computed property for processing text with a format.

Namespace

Drupal\text

Code

protected function getRenderer() {
  return \Drupal::service('renderer');
}