You are here

public function DrupalBlockProcessor::__construct in Gutenberg 8.2

DynamicRenderProcessor constructor.

Parameters

\Drupal\gutenberg\BlocksRendererHelper $blocks_renderer: The block renderer.

\Drupal\Core\Render\RendererInterface $renderer: The renderer.

File

src/BlockProcessor/DrupalBlockProcessor.php, line 42

Class

DrupalBlockProcessor
Processes Drupal blocks than can be embedded.

Namespace

Drupal\gutenberg\BlockProcessor

Code

public function __construct(BlocksRendererHelper $blocks_renderer, RendererInterface $renderer) {
  $this->blocksRenderer = $blocks_renderer;
  $this->renderer = $renderer;
}