function LayoutBuilderDecorationTestHtmlEntityFormController::getFormObject

Same name and namespace in other branches
  1. 9 core/modules/layout_builder/tests/modules/layout_builder_decoration_test/src/Controller/LayoutBuilderDecorationTestHtmlEntityFormController.php \Drupal\layout_builder_decoration_test\Controller\LayoutBuilderDecorationTestHtmlEntityFormController::getFormObject()
  2. 11.x core/modules/layout_builder/tests/modules/layout_builder_decoration_test/src/Controller/LayoutBuilderDecorationTestHtmlEntityFormController.php \Drupal\layout_builder_decoration_test\Controller\LayoutBuilderDecorationTestHtmlEntityFormController::getFormObject()

Overrides FormController::getFormObject

File

core/modules/layout_builder/tests/modules/layout_builder_decoration_test/src/Controller/LayoutBuilderDecorationTestHtmlEntityFormController.php, line 48

Class

LayoutBuilderDecorationTestHtmlEntityFormController
Overrides the entity form controller service for layout builder decoration test.

Namespace

Drupal\layout_builder_decoration_test\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.