function FormOperations::__construct

Same name and namespace in other branches
  1. 11.x core/modules/workspaces/src/Hook/FormOperations.php \Drupal\workspaces\Hook\FormOperations::__construct()
  2. 10 core/modules/workspaces/src/FormOperations.php \Drupal\workspaces\FormOperations::__construct()
  3. 9 core/modules/workspaces/src/FormOperations.php \Drupal\workspaces\FormOperations::__construct()
  4. 8.9.x core/modules/workspaces/src/FormOperations.php \Drupal\workspaces\FormOperations::__construct()

File

core/modules/workspaces/src/Hook/FormOperations.php, line 22

Class

FormOperations
Defines a class for reacting to form operations.

Namespace

Drupal\workspaces\Hook

Code

public function __construct(protected WorkspaceManagerInterface $workspaceManager, #[Autowire('@workspaces.negotiator.query_parameter')] protected QueryParameterWorkspaceNegotiator $queryParameterNegotiator) {
}

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