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