You are here

public function MenuLinkTreeInterface::getExpanded in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Menu/MenuLinkTreeInterface.php \Drupal\Core\Menu\MenuLinkTreeInterface::getExpanded()

Finds expanded links in a menu given a set of possible parents.

Parameters

string $menu_name: The menu name.

array $parents: One or more parent IDs to match.

Return value

array The menu link IDs that are flagged as expanded in this menu.

1 method overrides MenuLinkTreeInterface::getExpanded()
MenuLinkTree::getExpanded in core/lib/Drupal/Core/Menu/MenuLinkTree.php
Finds expanded links in a menu given a set of possible parents.

File

core/lib/Drupal/Core/Menu/MenuLinkTreeInterface.php, line 132
Contains \Drupal\Core\Menu\MenuLinkTreeInterface.

Class

MenuLinkTreeInterface
Defines an interface for loading, transforming and rendering menu link trees.

Namespace

Drupal\Core\Menu

Code

public function getExpanded($menu_name, array $parents);