function WorkspacePublishEvent::getWorkspace
Same name in other branches
- 11.x core/modules/workspaces/src/Event/WorkspacePublishEvent.php \Drupal\workspaces\Event\WorkspacePublishEvent::getWorkspace()
Gets the workspace.
Return value
\Drupal\workspaces\WorkspaceInterface The workspace.
File
-
core/
modules/ workspaces/ src/ Event/ WorkspacePublishEvent.php, line 50
Class
- WorkspacePublishEvent
- Defines the workspace publish event.
Namespace
Drupal\workspaces\EventCode
public function getWorkspace() : WorkspaceInterface {
return $this->workspace;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.