public function LocalActionInterface::getWeight in Drupal 9
Same name and namespace in other branches
- 8 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();