You are here

public function WorkspaceInterface::publish in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/workspaces/src/WorkspaceInterface.php \Drupal\workspaces\WorkspaceInterface::publish()
  2. 9 core/modules/workspaces/src/WorkspaceInterface.php \Drupal\workspaces\WorkspaceInterface::publish()

Publishes the contents of this workspace to the default (Live) workspace.

1 method overrides WorkspaceInterface::publish()
Workspace::publish in core/modules/workspaces/src/Entity/Workspace.php
Publishes the contents of this workspace to the default (Live) workspace.

File

core/modules/workspaces/src/WorkspaceInterface.php, line 17

Class

WorkspaceInterface
Defines an interface for the workspace entity type.

Namespace

Drupal\workspaces

Code

public function publish();