function WorkspaceAssociationInterface::initializeWorkspace

Same name in other branches
  1. 9 core/modules/workspaces/src/WorkspaceAssociationInterface.php \Drupal\workspaces\WorkspaceAssociationInterface::initializeWorkspace()
  2. 8.9.x core/modules/workspaces/src/WorkspaceAssociationInterface.php \Drupal\workspaces\WorkspaceAssociationInterface::initializeWorkspace()
  3. 10 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.

File

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

Class

WorkspaceAssociationInterface
Defines an interface for the workspace_association service.

Namespace

Drupal\workspaces

Code

public function initializeWorkspace(WorkspaceInterface $workspace);

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