public function DefaultController::__construct in Shorten URLs 8.2
Same name in this branch
- 8.2 src/Controller/DefaultController.php \Drupal\shorten\Controller\DefaultController::__construct()
- 8.2 modules/shorten_cs/src/Controller/DefaultController.php \Drupal\shorten_cs\Controller\DefaultController::__construct()
- 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
- src/
Controller/ DefaultController.php, line 27
Class
- DefaultController
- Default controller for the shorten module.
Namespace
Drupal\shorten\ControllerCode
public function __construct(RendererInterface $renderer) {
$this->renderer = $renderer;
}