You are here

public function Renderer::__construct in Colorbox Load 8

Constructs a new HtmlRenderer.

Parameters

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

File

src/Renderer.php, line 29

Class

Renderer
Render content in a colorbox.

Namespace

Drupal\colorbox_load

Code

public function __construct(RendererInterface $renderer) {
  $this->renderer = $renderer;
}