MenuLinkTreeInterface

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

The main purposes of this interface are:

Hierarchy

File

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

Namespace

Drupal\Core\Menu

Members

Name Modifiers Type Description
MenuLinkTreeInterface::build public function Builds a renderable array from a menu tree.
MenuLinkTreeInterface::getCurrentRouteMenuTreeParameters public function Gets the link tree parameters for rendering a specific menu.
MenuLinkTreeInterface::getExpanded public function Finds expanded links in a menu given a set of possible parents.
MenuLinkTreeInterface::getSubtreeHeight public function Finds the height of a subtree rooted by of the given ID.
MenuLinkTreeInterface::load public function Loads a menu tree with a menu link plugin instance at each element.
MenuLinkTreeInterface::maxDepth public function Returns the maximum depth of tree that is supported.
MenuLinkTreeInterface::transform public function Applies menu link tree manipulators to transform the given tree.
doc_Drupal
2016-10-29 09:27:21
Comments
Leave a Comment

Please login to continue.