function WorkspaceOperationInterface::getTargetLabel

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

Returns the human-readable label of the target.

Return value

string The target label.

2 methods override WorkspaceOperationInterface::getTargetLabel()
WorkspaceMerger::getTargetLabel in core/modules/workspaces/src/WorkspaceMerger.php
Returns the human-readable label of the target.
WorkspacePublisher::getTargetLabel in core/modules/workspaces/src/WorkspacePublisher.php
Returns the human-readable label of the target.

File

core/modules/workspaces/src/WorkspaceOperationInterface.php, line 29

Class

WorkspaceOperationInterface
Defines an interface for workspace operations.

Namespace

Drupal\workspaces

Code

public function getTargetLabel();

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