public function HtmlFormController::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Controller/HtmlFormController.php \Drupal\Core\Controller\HtmlFormController::__construct()
Constructs a new \Drupal\Core\Routing\Enhancer\FormEnhancer object.
Parameters
\Drupal\Core\Controller\ControllerResolverInterface $controller_resolver: The controller resolver.
\Drupal\Core\Form\FormBuilderInterface $form_builder: The form builder.
\Drupal\Core\DependencyInjection\ClassResolverInterface $class_resolver: The class resolver.
Overrides FormController::__construct
File
- core/
lib/ Drupal/ Core/ Controller/ HtmlFormController.php, line 36 - Contains \Drupal\Core\Controller\HtmlFormController.
Class
- HtmlFormController
- Wrapping controller for forms that serve as the main page body.
Namespace
Drupal\Core\ControllerCode
public function __construct(ControllerResolverInterface $controller_resolver, FormBuilderInterface $form_builder, ClassResolverInterface $class_resolver) {
parent::__construct($controller_resolver, $form_builder);
$this->classResolver = $class_resolver;
}