function WorkspaceInterface::publish

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

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