function LayoutBuilderHtmlEntityFormController::getFormObject

Same name in other branches
  1. 10 core/modules/layout_builder/src/Controller/LayoutBuilderHtmlEntityFormController.php \Drupal\layout_builder\Controller\LayoutBuilderHtmlEntityFormController::getFormObject()
  2. 11.x core/modules/layout_builder/src/Controller/LayoutBuilderHtmlEntityFormController.php \Drupal\layout_builder\Controller\LayoutBuilderHtmlEntityFormController::getFormObject()

Overrides FormController::getFormObject

File

core/modules/layout_builder/src/Controller/LayoutBuilderHtmlEntityFormController.php, line 69

Class

LayoutBuilderHtmlEntityFormController
Overrides the entity form controller service for layout builder operations.

Namespace

Drupal\layout_builder\Controller

Code

protected function getFormObject(RouteMatchInterface $route_match, $form_arg) {
    return $this->entityFormController
        ->getFormObject($route_match, $form_arg);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.