public ContextualLinkInterface::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.
File
- core/lib/Drupal/Core/Menu/ContextualLinkInterface.php, line 68
Class
- ContextualLinkInterface
- Defines a contextual link plugin.
Namespace
Drupal\Core\Menu
Code
public function getWeight();
Please login to continue.