public function DynamicRenderProcessor::__construct in Gutenberg 8.2
DynamicRenderProcessor constructor.
Parameters
\Drupal\gutenberg\GutenbergLibraryManagerInterface $library_manager: The Gutenberg library manager.
\Drupal\Core\Render\RendererInterface $renderer: The renderer.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
File
- src/
BlockProcessor/ DynamicRenderProcessor.php, line 55
Class
- DynamicRenderProcessor
- Processes blocks which can be rendered dynamically server-side.
Namespace
Drupal\gutenberg\BlockProcessorCode
public function __construct(GutenbergLibraryManagerInterface $library_manager, RendererInterface $renderer, ModuleHandlerInterface $module_handler) {
$this->libraryManager = $library_manager;
$this->renderer = $renderer;
$this->moduleHandler = $module_handler;
}