You are here

public function DefaultController::__construct in Shorten URLs 8.2

Same name in this branch
  1. 8.2 src/Controller/DefaultController.php \Drupal\shorten\Controller\DefaultController::__construct()
  2. 8.2 modules/shorten_cs/src/Controller/DefaultController.php \Drupal\shorten_cs\Controller\DefaultController::__construct()
  3. 8.2 modules/record_shorten/src/Controller/DefaultController.php \Drupal\record_shorten\Controller\DefaultController::__construct()

DefaultController constructor.

Parameters

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

File

modules/shorten_cs/src/Controller/DefaultController.php, line 27

Class

DefaultController
Default controller for the shorten_cs module.

Namespace

Drupal\shorten_cs\Controller

Code

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