You are here

public function MenuTreeStorageInterface::getAllChildIds in Drupal 8

Same name and namespace 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()

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);