function 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'];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.