public function FormOperations::__construct in Drupal 9
Same name and namespace in other branches
- 8 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\workspacesCode
public function __construct(WorkspaceManagerInterface $workspace_manager) {
$this->workspaceManager = $workspace_manager;
}