MenuLinkTreeInterface::getExpanded

public function MenuLinkTreeInterface::getExpanded

public MenuLinkTreeInterface::getExpanded($menu_name, array $parents)

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.

File

core/lib/Drupal/Core/Menu/MenuLinkTreeInterface.php, line 127

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

© 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!MenuLinkTreeInterface.php/function/MenuLinkTreeInterface::getExpanded/8.1.x

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部