You are here

public function WorkspaceAssociationInterface::initializeWorkspace in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/workspaces/src/WorkspaceAssociationInterface.php \Drupal\workspaces\WorkspaceAssociationInterface::initializeWorkspace()

Initializes a workspace with all the associations of its parent.

Parameters

\Drupal\workspaces\WorkspaceInterface $workspace: The workspace to be initialized.

1 method overrides WorkspaceAssociationInterface::initializeWorkspace()
WorkspaceAssociation::initializeWorkspace in core/modules/workspaces/src/WorkspaceAssociation.php
Initializes a workspace with all the associations of its parent.

File

core/modules/workspaces/src/WorkspaceAssociationInterface.php, line 117

Class

WorkspaceAssociationInterface
Defines an interface for the workspace_association service.

Namespace

Drupal\workspaces

Code

public function initializeWorkspace(WorkspaceInterface $workspace);