public function WorkspacePublisher::getTargetLabel in Drupal 8
Same name and namespace in other branches
- 9 core/modules/workspaces/src/WorkspacePublisher.php \Drupal\workspaces\WorkspacePublisher::getTargetLabel()
- 10 core/modules/workspaces/src/WorkspacePublisher.php \Drupal\workspaces\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 138
Class
- WorkspacePublisher
- Default implementation of the workspace publisher.
Namespace
Drupal\workspacesCode
public function getTargetLabel() {
return $this
->t('Live');
}