public function ContextualController::__construct in Drupal 9
Same name and namespace in other branches
- 8 core/modules/contextual/src/ContextualController.php \Drupal\contextual\ContextualController::__construct()
Constructors a new ContextualController.
Parameters
\Drupal\Core\Render\RendererInterface $renderer: The renderer.
File
- core/
modules/ contextual/ src/ ContextualController.php, line 32
Class
- ContextualController
- Returns responses for Contextual module routes.
Namespace
Drupal\contextualCode
public function __construct(RendererInterface $renderer) {
$this->renderer = $renderer;
}