function MenuLinkBase::getParent
Same name in other branches
- 9 core/lib/Drupal/Core/Menu/MenuLinkBase.php \Drupal\Core\Menu\MenuLinkBase::getParent()
- 8.9.x core/lib/Drupal/Core/Menu/MenuLinkBase.php \Drupal\Core\Menu\MenuLinkBase::getParent()
- 11.x core/lib/Drupal/Core/Menu/MenuLinkBase.php \Drupal\Core\Menu\MenuLinkBase::getParent()
Overrides MenuLinkInterface::getParent
File
-
core/
lib/ Drupal/ Core/ Menu/ MenuLinkBase.php, line 52
Class
- MenuLinkBase
- Defines a base menu link class.
Namespace
Drupal\Core\MenuCode
public function getParent() {
return $this->pluginDefinition['parent'];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.