function HtmlEntityFormController::getFormArgument
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Entity/HtmlEntityFormController.php \Drupal\Core\Entity\HtmlEntityFormController::getFormArgument()
- 10 core/lib/Drupal/Core/Entity/HtmlEntityFormController.php \Drupal\Core\Entity\HtmlEntityFormController::getFormArgument()
- 11.x core/lib/Drupal/Core/Entity/HtmlEntityFormController.php \Drupal\Core\Entity\HtmlEntityFormController::getFormArgument()
Overrides FormController::getFormArgument
File
-
core/
lib/ Drupal/ Core/ Entity/ HtmlEntityFormController.php, line 40
Class
- HtmlEntityFormController
- Wrapping controller for entity forms that serve as the main page body.
Namespace
Drupal\Core\EntityCode
protected function getFormArgument(RouteMatchInterface $route_match) {
return $route_match->getRouteObject()
->getDefault('_entity_form');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.