public function MenuTreeStorageInterface::getAllChildIds in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php \Drupal\Core\Menu\MenuTreeStorageInterface::getAllChildIds()
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.
1 method overrides MenuTreeStorageInterface::getAllChildIds()
- MenuTreeStorage::getAllChildIds in core/
lib/ Drupal/ Core/ Menu/ MenuTreeStorage.php - Loads all the IDs for menu links that are below the given ID.
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);