function ContactController::__construct
Same name in other branches
- 8.9.x core/modules/contact/src/Controller/ContactController.php \Drupal\contact\Controller\ContactController::__construct()
- 10 core/modules/contact/src/Controller/ContactController.php \Drupal\contact\Controller\ContactController::__construct()
- 11.x core/modules/contact/src/Controller/ContactController.php \Drupal\contact\Controller\ContactController::__construct()
Constructs a ContactController object.
Parameters
\Drupal\Core\Render\RendererInterface $renderer: The renderer.
File
-
core/
modules/ contact/ src/ Controller/ ContactController.php, line 31
Class
- ContactController
- Controller routines for contact routes.
Namespace
Drupal\contact\ControllerCode
public function __construct(RendererInterface $renderer) {
$this->renderer = $renderer;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.