You are here

public function EasyEmailController::__construct in Easy Email 8

Same name and namespace in other branches
  1. 2.0.x src/Controller/EasyEmailController.php \Drupal\easy_email\Controller\EasyEmailController::__construct()

EasyEmailController constructor.

Parameters

\Symfony\Component\HttpFoundation\RequestStack $requestStack:

\Drupal\Core\Form\FormBuilderInterface $formBuilder:

File

src/Controller/EasyEmailController.php, line 43

Class

EasyEmailController
Class EasyEmailController.

Namespace

Drupal\easy_email\Controller

Code

public function __construct(RequestStack $requestStack, FormBuilderInterface $formBuilder) {
  $this->requestStack = $requestStack;
  $this->formBuilder = $formBuilder;
}