function FormOperations::__construct

Same name in other branches
  1. 9 core/modules/workspaces/src/FormOperations.php \Drupal\workspaces\FormOperations::__construct()
  2. 8.9.x core/modules/workspaces/src/FormOperations.php \Drupal\workspaces\FormOperations::__construct()
  3. 11.x 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;
}

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