You are here

public function RepositoryHandlerBase::getLabel in Workspace 8.2

Returns the label of the repository handler.

This is used as a form label where a user selects the replication target.

Return value

string The label text, which could be a plain string or an object that can be cast to a string.

Overrides RepositoryHandlerInterface::getLabel

File

src/RepositoryHandlerBase.php, line 54

Class

RepositoryHandlerBase
Defines a base RepositoryHandler plugin implementation.

Namespace

Drupal\workspace

Code

public function getLabel() {
  return $this
    ->getPluginDefinition()['label'];
}