You are here

public function WorkspaceAssociationInterface::workspaceInsert in Drupal 9

Same name and namespace in other branches
  1. 8 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.

1 method overrides WorkspaceAssociationInterface::workspaceInsert()
WorkspaceAssociation::workspaceInsert in core/modules/workspaces/src/WorkspaceAssociation.php
Responds to the creation of a new workspace entity.

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);