function FormOperations::__construct
Same name and namespace in other branches
- 11.x core/modules/workspaces/src/Hook/FormOperations.php \Drupal\workspaces\Hook\FormOperations::__construct()
- 10 core/modules/workspaces/src/FormOperations.php \Drupal\workspaces\FormOperations::__construct()
- 9 core/modules/workspaces/src/FormOperations.php \Drupal\workspaces\FormOperations::__construct()
- 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\HookCode
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.