You are here

public function ForwardController::__construct in Forward 8

Same name and namespace in other branches
  1. 8.3 src/Controller/ForwardController.php \Drupal\forward\Controller\ForwardController::__construct()
  2. 8.2 src/Controller/ForwardController.php \Drupal\forward\Controller\ForwardController::__construct()

Constructs a ForwardController object.

Parameters

\Drupal\forward\Form\ForwardFormBuilder $form_builder: The forward form builder service.

File

src/Controller/ForwardController.php, line 29

Class

ForwardController
Returns responses for the Forward module.

Namespace

Drupal\forward\Controller

Code

public function __construct(ForwardFormBuilder $form_builder) {
  $this->formBuilder = $form_builder;
}