public function ForwardController::__construct in Forward 8
Same name and namespace in other branches
- 8.3 src/Controller/ForwardController.php \Drupal\forward\Controller\ForwardController::__construct()
- 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\ControllerCode
public function __construct(ForwardFormBuilder $form_builder) {
$this->formBuilder = $form_builder;
}