function WorkspacePublisher::getSourceLabel
Same name in other branches
- 8.9.x core/modules/workspaces/src/WorkspacePublisher.php \Drupal\workspaces\WorkspacePublisher::getSourceLabel()
- 10 core/modules/workspaces/src/WorkspacePublisher.php \Drupal\workspaces\WorkspacePublisher::getSourceLabel()
- 11.x core/modules/workspaces/src/WorkspacePublisher.php \Drupal\workspaces\WorkspacePublisher::getSourceLabel()
Overrides WorkspaceOperationInterface::getSourceLabel
File
-
core/
modules/ workspaces/ src/ WorkspacePublisher.php, line 135
Class
- WorkspacePublisher
- Default implementation of the workspace publisher.
Namespace
Drupal\workspacesCode
public function getSourceLabel() {
return $this->sourceWorkspace
->label();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.