public function LocalActionDefault::getWeight
public LocalActionDefault::getWeight()
Returns the weight for the local action.
Return value
int
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']; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Menu!LocalActionDefault.php/function/LocalActionDefault::getWeight/8.1.x