You are here

public function NullRepositoryHandler::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/Plugin/RepositoryHandler/NullRepositoryHandler.php, line 71

Class

NullRepositoryHandler
Defines a fallback repository handler plugin.

Namespace

Drupal\workspace\Plugin\RepositoryHandler

Code

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