public function DefaultController::__construct in Webform Email Reply 8
Constructs a WebformResultsResendForm object.
Parameters
\Drupal\webform\WebformRequestInterface $request_handler: The webform request handler.
File
- src/
Controller/ DefaultController.php, line 56 - Contains \Drupal\webform_email_reply\Controller\DefaultController.
Class
- DefaultController
- Default controller for the webform_email_reply module.
Namespace
Drupal\webform_email_reply\ControllerCode
public function __construct(WebformRequestInterface $request_handler, AccountInterface $current_user, DateFormatterInterface $date_formatter) {
$this->requestHandler = $request_handler;
$this->currentUser = $current_user;
$this->dateFormatter = $date_formatter;
}