function WorkspacesHtmlEntityFormController::__construct

Same name and namespace in other branches
  1. 10 core/modules/workspaces/src/Controller/WorkspacesHtmlEntityFormController.php \Drupal\workspaces\Controller\WorkspacesHtmlEntityFormController::__construct()

Constructs a new \Drupal\Core\Controller\FormController object.

Parameters

\Symfony\Component\HttpKernel\Controller\ArgumentResolverInterface $argument_resolver: The argument resolver.

\Drupal\Core\Form\FormBuilderInterface $form_builder: The form builder.

Overrides FormController::__construct

File

core/modules/workspaces/src/Controller/WorkspacesHtmlEntityFormController.php, line 26

Class

WorkspacesHtmlEntityFormController
Overrides the entity form controller service for workspaces operations.

Namespace

Drupal\workspaces\Controller

Code

public function __construct(protected readonly FormController $entityFormController, protected readonly WorkspaceManagerInterface $workspaceManager, protected readonly WorkspaceInformationInterface $workspaceInfo, protected readonly TypedDataManagerInterface $typedDataManager) {
}

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