function LocalActionDefault::getWeight

Same name in other branches
  1. 9 core/lib/Drupal/Core/Menu/LocalActionDefault.php \Drupal\Core\Menu\LocalActionDefault::getWeight()
  2. 8.9.x core/lib/Drupal/Core/Menu/LocalActionDefault.php \Drupal\Core\Menu\LocalActionDefault::getWeight()
  3. 11.x core/lib/Drupal/Core/Menu/LocalActionDefault.php \Drupal\Core\Menu\LocalActionDefault::getWeight()

Overrides LocalActionInterface::getWeight

File

core/lib/Drupal/Core/Menu/LocalActionDefault.php, line 78

Class

LocalActionDefault
Provides a default implementation for local action plugins.

Namespace

Drupal\Core\Menu

Code

public function getWeight() {
    return $this->pluginDefinition['weight'];
}

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