You are here

function workspace_workspace_insert in Workspace 8

Implements hook_ENTITY_TYPE_insert()

Parameters

\Drupal\multiversion\Entity\WorkspaceInterface $workspace:

File

./workspace.module, line 82

Code

function workspace_workspace_insert(WorkspaceInterface $workspace) {
  \Drupal::service('workspace.entity_operations')
    ->workspaceInsert($workspace);
}