function LocalActionInterface::getWeight
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Menu/LocalActionInterface.php \Drupal\Core\Menu\LocalActionInterface::getWeight()
- 10 core/lib/Drupal/Core/Menu/LocalActionInterface.php \Drupal\Core\Menu\LocalActionInterface::getWeight()
- 11.x core/lib/Drupal/Core/Menu/LocalActionInterface.php \Drupal\Core\Menu\LocalActionInterface::getWeight()
Returns the weight for the local action.
Return value
int
1 method overrides LocalActionInterface::getWeight()
- LocalActionDefault::getWeight in core/
lib/ Drupal/ Core/ Menu/ LocalActionDefault.php - Returns the weight for the local action.
File
-
core/
lib/ Drupal/ Core/ Menu/ LocalActionInterface.php, line 36
Class
- LocalActionInterface
- Defines an interface for menu local actions.
Namespace
Drupal\Core\MenuCode
public function getWeight();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.