You are here

public function UserController::__construct in General Data Protection Regulation 8

Same name and namespace in other branches
  1. 8.2 src/Controller/UserController.php \Drupal\gdpr\Controller\UserController::__construct()
  2. 3.0.x src/Controller/UserController.php \Drupal\gdpr\Controller\UserController::__construct()

UserController constructor.

Parameters

\Drupal\Core\Datetime\DateFormatterInterface $dateFormatter: The date formatter service.

File

src/Controller/UserController.php, line 40

Class

UserController
Class UserController.

Namespace

Drupal\gdpr\Controller

Code

public function __construct(DateFormatterInterface $dateFormatter) {
  $this->dateFormatter = $dateFormatter;
}