function MenuLinkManagerInterface::getChildIds
Same name in other branches
- 9 core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php \Drupal\Core\Menu\MenuLinkManagerInterface::getChildIds()
- 8.9.x core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php \Drupal\Core\Menu\MenuLinkManagerInterface::getChildIds()
- 11.x core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php \Drupal\Core\Menu\MenuLinkManagerInterface::getChildIds()
Loads all child link IDs of a given menu link, regardless of visibility.
This method is mostly useful for testing.
Parameters
string $id: The menu link plugin ID.
Return value
array An unordered array of IDs representing the IDs of all children, or NULL if the ID is invalid.
File
-
core/
lib/ Drupal/ Core/ Menu/ MenuLinkManagerInterface.php, line 177
Class
- MenuLinkManagerInterface
- Defines an interface for managing menu links and storing their definitions.
Namespace
Drupal\Core\MenuCode
public function getChildIds($id);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.