You are here

public function MenuTreeStorageInterface::getExpanded in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php \Drupal\Core\Menu\MenuTreeStorageInterface::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 MenuTreeStorageInterface::getExpanded()
MenuTreeStorage::getExpanded in core/lib/Drupal/Core/Menu/MenuTreeStorage.php
Finds expanded links in a menu given a set of possible parents.

File

core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php, line 231

Class

MenuTreeStorageInterface
Defines an interface for storing a menu tree containing menu link IDs.

Namespace

Drupal\Core\Menu

Code

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