public function MenuTreeStorageInterface::getAllChildIds
public MenuTreeStorageInterface::getAllChildIds($id)
Loads all the IDs for menu links that are below the given ID.
Parameters
string $id: The parent menu link ID.
Return value
array An unordered array of plugin IDs corresponding to all children.
File
- core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php, line 171
Class
- MenuTreeStorageInterface
- Defines an interface for storing a menu tree containing menu link IDs.
Namespace
Drupal\Core\MenuCode
public function getAllChildIds($id);
© 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::getAllChildIds/8.1.x