function LocalActionInterface::getWeight

Same name in other branches
  1. 9 core/lib/Drupal/Core/Menu/LocalActionInterface.php \Drupal\Core\Menu\LocalActionInterface::getWeight()
  2. 8.9.x core/lib/Drupal/Core/Menu/LocalActionInterface.php \Drupal\Core\Menu\LocalActionInterface::getWeight()
  3. 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\Menu

Code

public function getWeight();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.