function WorkspaceTrackerInterface::initializeWorkspace

Initializes a workspace with all the associations of its parent.

Parameters

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

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

File

core/modules/workspaces/src/WorkspaceTrackerInterface.php, line 168

Class

WorkspaceTrackerInterface
Defines an interface for the workspace tracker service.

Namespace

Drupal\workspaces

Code

public function initializeWorkspace(WorkspaceInterface $workspace) : void;

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