You are here

public function MatcherBase::getWeight in Linkit 8.5

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

Returns the weight of the matcher.

Return value

int|string Either the integer weight of the matcher, or an empty string.

Overrides MatcherInterface::getWeight

1 call to MatcherBase::getWeight()
MatcherBase::getConfiguration in src/MatcherBase.php
Gets this plugin's configuration.

File

src/MatcherBase.php, line 74

Class

MatcherBase
Provides a base class for matchers.

Namespace

Drupal\linkit

Code

public function getWeight() {
  return $this->weight;
}