public function WorkspaceMerger::getSourceLabel in Drupal 9
Same name and namespace in other branches
- 8 core/modules/workspaces/src/WorkspaceMerger.php \Drupal\workspaces\WorkspaceMerger::getSourceLabel()
 
Returns the human-readable label of the source.
Return value
string The source label.
Overrides WorkspaceOperationInterface::getSourceLabel
File
- core/
modules/ workspaces/ src/ WorkspaceMerger.php, line 125  
Class
- WorkspaceMerger
 - Default implementation of the workspace merger.
 
Namespace
Drupal\workspacesCode
public function getSourceLabel() {
  return $this->sourceWorkspace
    ->label();
}