You are here

public function PageController::__construct in Color API 8

Constructs a PageController object.

Parameters

\Drupal\Core\Form\FormBuilderInterface $formBuilder: The form builder service.

File

src/Controller/PageController.php, line 32

Class

PageController
Page controller for the Colorapi module.

Namespace

Drupal\colorapi\Controller

Code

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