function HtmlFormController::getFormObject
Same name in other branches
- 9 core/lib/Drupal/Core/Controller/HtmlFormController.php \Drupal\Core\Controller\HtmlFormController::getFormObject()
- 8.9.x core/lib/Drupal/Core/Controller/HtmlFormController.php \Drupal\Core\Controller\HtmlFormController::getFormObject()
- 10 core/lib/Drupal/Core/Controller/HtmlFormController.php \Drupal\Core\Controller\HtmlFormController::getFormObject()
Overrides FormController::getFormObject
File
-
core/
lib/ Drupal/ Core/ Controller/ HtmlFormController.php, line 47
Class
- HtmlFormController
- Wrapping controller for forms that serve as the main page body.
Namespace
Drupal\Core\ControllerCode
protected function getFormObject(RouteMatchInterface $route_match, $form_arg) {
return $this->classResolver
->getInstanceFromDefinition($form_arg);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.