You are here

public function MatcherBase::getLabel in Linkit 8.5

Same name and namespace in other branches
  1. 8.4 src/MatcherBase.php \Drupal\linkit\MatcherBase::getLabel()

Returns the matcher label.

Return value

string The matcher label.

Overrides MatcherInterface::getLabel

File

src/MatcherBase.php, line 60

Class

MatcherBase
Provides a base class for matchers.

Namespace

Drupal\linkit

Code

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