You are here

public function LayoutBuilderDecorationTestHtmlEntityFormController::getContentResult in Drupal 10

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::getContentResult()

Invokes the form and returns the result.

Parameters

\Symfony\Component\HttpFoundation\Request $request: The request object.

\Drupal\Core\Routing\RouteMatchInterface $route_match: The route match.

Return value

array The render array that results from invoking the controller.

Overrides FormController::getContentResult

File

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

Class

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

Namespace

Drupal\layout_builder_decoration_test\Controller

Code

public function getContentResult(Request $request, RouteMatchInterface $route_match) {
  return $this->entityFormController
    ->getContentResult($request, $route_match);
}