function MenuTreeStorageInterface::getAllChildIds

Same name in other branches
  1. 9 core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php \Drupal\Core\Menu\MenuTreeStorageInterface::getAllChildIds()
  2. 10 core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php \Drupal\Core\Menu\MenuTreeStorageInterface::getAllChildIds()
  3. 11.x 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\Menu

Code

public function getAllChildIds($id);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.