ContextualLinkDefault::getWeight
public function ContextualLinkDefault::getWeight
public ContextualLinkDefault::getWeight()
Returns the weight of the contextual link.
The contextual links in one group are sorted by weight for display.
Return value
int The weight as positive/negative integer.
Overrides ContextualLinkInterface::getWeight
File
- core/lib/Drupal/Core/Menu/ContextualLinkDefault.php, line 45