public function MatcherBase::setWeight in Linkit 8.4
Same name and namespace in other branches
- 8.5 src/MatcherBase.php \Drupal\linkit\MatcherBase::setWeight()
Sets the weight for the matcher.
Parameters
int $weight: The weight for this matcher.
Return value
$this
Overrides MatcherInterface::setWeight
File
- src/
MatcherBase.php, line 74 - Contains \Drupal\linkit\MatcherBase.
Class
- MatcherBase
- Provides a base class for matchers.
Namespace
Drupal\linkitCode
public function setWeight($weight) {
return $this->weight = $weight;
}