function WorkspaceMerger::getSourceLabel

Same name and namespace in other branches
  1. 11.x core/modules/workspaces/src/WorkspaceMerger.php \Drupal\workspaces\WorkspaceMerger::getSourceLabel()
  2. 10 core/modules/workspaces/src/WorkspaceMerger.php \Drupal\workspaces\WorkspaceMerger::getSourceLabel()
  3. 8.9.x core/modules/workspaces/src/WorkspaceMerger.php \Drupal\workspaces\WorkspaceMerger::getSourceLabel()

File

core/modules/workspaces/src/WorkspaceMerger.php, line 127

Class

WorkspaceMerger
Default implementation of the workspace merger.

Namespace

Drupal\workspaces

Code

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.