public function AdminController::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/comment/src/Controller/AdminController.php \Drupal\comment\Controller\AdminController::__construct()
Constructs an AdminController object.
Parameters
\Drupal\Core\Form\FormBuilderInterface $form_builder: The form builder.
File
- core/
modules/ comment/ src/ Controller/ AdminController.php, line 42 - Contains \Drupal\comment\Controller\AdminController.
Class
- AdminController
- Returns responses for comment module administrative routes.
Namespace
Drupal\comment\ControllerCode
public function __construct(FormBuilderInterface $form_builder) {
$this->formBuilder = $form_builder;
}