public MenuLinkContentInterface::getParentId()
Gets the plugin ID of the parent menu link.
Return value
string A plugin ID, or empty string if this link is at the top level.
File
- core/modules/menu_link_content/src/MenuLinkContentInterface.php, line 80
Class
- MenuLinkContentInterface
- Defines an interface for custom menu links.
Namespace
Drupal\menu_link_content
Code
public function getParentId();
Please login to continue.