public function HtmlEntityFormController::content

Due to reflection, the argument must be named $_entity_form. The parent method has $request and $_form, but the parameter must match the route.

Overrides HtmlFormController::content

File

drupal/core/lib/Drupal/Core/Entity/HtmlEntityFormController.php, line 24
Contains \Drupal\Core\Entity\HtmlEntityFormController.

Class

HtmlEntityFormController
Wrapping controller for entity forms that serve as the main page body.

Namespace

Drupal\Core\Entity

Code

public function content(Request $request, $_entity_form) {
  return parent::content($request, $_entity_form);
}