function WorkspaceOperationInterface::getSourceLabel

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

Returns the human-readable label of the source.

Return value

string The source label.

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

File

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

Class

WorkspaceOperationInterface
Defines an interface for workspace operations.

Namespace

Drupal\workspaces

Code

public function getSourceLabel();

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