Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ContactController.php

function ContactController::__construct

Constructs a ContactController object.

Parameters

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

File

core/modules/contact/src/Controller/ContactController.php, line 30

Class

ContactController
Controller routines for contact routes.

Namespace

Drupal\contact\Controller

Code

public function __construct(RendererInterface $renderer) {
    $this->renderer = $renderer;
}
RSS feed
Powered by Drupal