function Workspace::publish
Same name in other branches
- 8.9.x core/modules/workspaces/src/Entity/Workspace.php \Drupal\workspaces\Entity\Workspace::publish()
- 10 core/modules/workspaces/src/Entity/Workspace.php \Drupal\workspaces\Entity\Workspace::publish()
- 11.x core/modules/workspaces/src/Entity/Workspace.php \Drupal\workspaces\Entity\Workspace::publish()
Overrides WorkspaceInterface::publish
File
-
core/
modules/ workspaces/ src/ Entity/ Workspace.php, line 129
Class
- Workspace
- The workspace entity class.
Namespace
Drupal\workspaces\EntityCode
public function publish() {
return \Drupal::service('workspaces.operation_factory')->getPublisher($this)
->publish();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.