You are here

public function FormOperations::__construct in Drupal 8

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

Constructs a new FormOperations instance.

Parameters

\Drupal\workspaces\WorkspaceManagerInterface $workspace_manager: The workspace manager service.

File

core/modules/workspaces/src/FormOperations.php, line 33

Class

FormOperations
Defines a class for reacting to form operations.

Namespace

Drupal\workspaces

Code

public function __construct(WorkspaceManagerInterface $workspace_manager) {
  $this->workspaceManager = $workspace_manager;
}