public function WorkspaceMergeForm::__construct in Drupal 8
Same name and namespace in other branches
- 9 core/modules/workspaces/src/Form/WorkspaceMergeForm.php \Drupal\workspaces\Form\WorkspaceMergeForm::__construct()
- 10 core/modules/workspaces/src/Form/WorkspaceMergeForm.php \Drupal\workspaces\Form\WorkspaceMergeForm::__construct()
Constructs a new WorkspaceMergeForm.
Parameters
\Drupal\workspaces\WorkspaceOperationFactory $workspace_operation_factory: The workspace operation factory service.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
File
- core/
modules/ workspaces/ src/ Form/ WorkspaceMergeForm.php, line 55
Class
- WorkspaceMergeForm
- Provides a form that merges the contents for a workspace into another one.
Namespace
Drupal\workspaces\FormCode
public function __construct(WorkspaceOperationFactory $workspace_operation_factory, EntityTypeManagerInterface $entity_type_manager) {
$this->workspaceOperationFactory = $workspace_operation_factory;
$this->entityTypeManager = $entity_type_manager;
}