function WorkspaceAssociationInterface::workspaceInsert

Same name in other branches
  1. 9 core/modules/workspaces/src/WorkspaceAssociationInterface.php \Drupal\workspaces\WorkspaceAssociationInterface::workspaceInsert()
  2. 8.9.x core/modules/workspaces/src/WorkspaceAssociationInterface.php \Drupal\workspaces\WorkspaceAssociationInterface::workspaceInsert()
  3. 10 core/modules/workspaces/src/WorkspaceAssociationInterface.php \Drupal\workspaces\WorkspaceAssociationInterface::workspaceInsert()

Responds to the creation of a new workspace entity.

Parameters

\Drupal\workspaces\WorkspaceInterface $workspace: The workspaces that was inserted.

File

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

Class

WorkspaceAssociationInterface
Defines an interface for the workspace_association service.

Namespace

Drupal\workspaces

Code

public function workspaceInsert(WorkspaceInterface $workspace);

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