You are here

public function LocalActionInterface::getWeight in Drupal 9

Same name and namespace in other branches
  1. 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\Menu

Code

public function getWeight();