public MenuTreeStorageInterface::loadAllChildren($id, $max_relative_depth = NULL)
Loads all the enabled menu links that are below the given ID.
The returned links are not ordered, and visible children will be included even if they have parent that is not enabled or ancestor so would not normally appear in a rendered tree.
string $id: The parent menu link ID.
int $max_relative_depth: The maximum relative depth of the children relative to the passed parent.
array An array of enabled link definitions, keyed by ID.
public function loadAllChildren($id, $max_relative_depth = NULL);
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Menu!MenuTreeStorageInterface.php/function/MenuTreeStorageInterface::loadAllChildren/8.1.x