function WorkspaceAssociationInterface::initializeWorkspace
Same name in other branches
- 8.9.x core/modules/workspaces/src/WorkspaceAssociationInterface.php \Drupal\workspaces\WorkspaceAssociationInterface::initializeWorkspace()
- 10 core/modules/workspaces/src/WorkspaceAssociationInterface.php \Drupal\workspaces\WorkspaceAssociationInterface::initializeWorkspace()
- 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\workspacesCode
public function initializeWorkspace(WorkspaceInterface $workspace);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.