You are here

public function EmbedController::__construct in Embed 8

Constructs an EmbedController instance.

Parameters

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

File

src/Controller/EmbedController.php, line 39

Class

EmbedController
Returns responses for Embed module routes.

Namespace

Drupal\embed\Controller

Code

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