function WorkspacePublisher::getTargetLabel

Returns the human-readable label of the target.

Return value

string The target label.

Overrides WorkspaceOperationInterface::getTargetLabel

File

core/modules/workspaces/src/WorkspacePublisher.php, line 142

Class

WorkspacePublisher
Default implementation of the workspace publisher.

Namespace

Drupal\workspaces

Code

public function getTargetLabel() {
  return $this->t('Live');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.