public function MatcherInterface::setWeight in Linkit 8.5
Same name and namespace in other branches
- 8.4 src/MatcherInterface.php \Drupal\linkit\MatcherInterface::setWeight()
Sets the weight for the matcher.
Parameters
int $weight: The weight for this matcher.
Return value
$this
1 method overrides MatcherInterface::setWeight()
- MatcherBase::setWeight in src/
MatcherBase.php - Sets the weight for the matcher.
File
- src/
MatcherInterface.php, line 59
Class
- MatcherInterface
- Defines the interface for matchers.
Namespace
Drupal\linkitCode
public function setWeight($weight);