function WorkspaceAssociationInterface::workspaceInsert

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

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