public function FormController::__construct in Zircon Profile 8
Same name in this branch
- 8 core/lib/Drupal/Core/Controller/FormController.php \Drupal\Core\Controller\FormController::__construct()
- 8 core/modules/system/tests/modules/condition_test/src/FormController.php \Drupal\condition_test\FormController::__construct()
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Controller/FormController.php \Drupal\Core\Controller\FormController::__construct()
Constructs a new \Drupal\Core\Controller\FormController object.
Parameters
\Drupal\Core\Controller\ControllerResolverInterface $controller_resolver: The controller resolver.
\Drupal\Core\Form\FormBuilderInterface $form_builder: The form builder.
2 calls to FormController::__construct()
- HtmlEntityFormController::__construct in core/
lib/ Drupal/ Core/ Entity/ HtmlEntityFormController.php - Constructs a new \Drupal\Core\Routing\Enhancer\FormEnhancer object.
- HtmlFormController::__construct in core/
lib/ Drupal/ Core/ Controller/ HtmlFormController.php - Constructs a new \Drupal\Core\Routing\Enhancer\FormEnhancer object.
2 methods override FormController::__construct()
- HtmlEntityFormController::__construct in core/
lib/ Drupal/ Core/ Entity/ HtmlEntityFormController.php - Constructs a new \Drupal\Core\Routing\Enhancer\FormEnhancer object.
- HtmlFormController::__construct in core/
lib/ Drupal/ Core/ Controller/ HtmlFormController.php - Constructs a new \Drupal\Core\Routing\Enhancer\FormEnhancer object.
File
- core/
lib/ Drupal/ Core/ Controller/ FormController.php, line 46 - Contains \Drupal\Core\Controller\FormController.
Class
- FormController
- Common base class for form interstitial controllers.
Namespace
Drupal\Core\ControllerCode
public function __construct(ControllerResolverInterface $controller_resolver, FormBuilderInterface $form_builder) {
$this->controllerResolver = $controller_resolver;
$this->formBuilder = $form_builder;
}