function NavigationMenuLinkTree::transform
Overrides MenuLinkTree::transform
File
-
core/
modules/ navigation/ src/ Menu/ NavigationMenuLinkTree.php, line 86
Class
- NavigationMenuLinkTree
- Extends MenuLinkTree to add specific theme suggestions for the navigation.
Namespace
Drupal\navigation\MenuCode
public function transform(array $tree, array $manipulators) {
$tree = parent::transform($tree, $manipulators);
$this->moduleHandler
->alter('navigation_menu_link_tree', $tree);
return $tree;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.