public function MatcherInterface::setWeight in Linkit 8.4
Same name and namespace in other branches
- 8.5 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 64 - Contains \Drupal\linkit\MatcherInterface.
Class
- MatcherInterface
- Defines the interface for matchers.
Namespace
Drupal\linkitCode
public function setWeight($weight);