function WorkspacePublisher::getTargetLabel

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

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.