public function ContextualLinkDefault::getWeight in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Menu/ContextualLinkDefault.php \Drupal\Core\Menu\ContextualLinkDefault::getWeight()
- 9 core/lib/Drupal/Core/Menu/ContextualLinkDefault.php \Drupal\Core\Menu\ContextualLinkDefault::getWeight()
File
- core/
lib/ Drupal/ Core/ Menu/ ContextualLinkDefault.php, line 45
Class
- ContextualLinkDefault
- Provides a common base implementation of a contextual link.
Namespace
Drupal\Core\MenuCode
public function getWeight() {
return $this->pluginDefinition['weight'];
}