function WorkspaceAssociationInterface::initializeWorkspace

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

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