Search for link
Exact matches
| Title | Object type | File name | Summary |
|---|---|---|---|
| Link | class | core/ |
Represents an RFC8288 based link. |
| Link | class | core/ |
Provides a link render element. |
| Link | class | core/ |
Defines an object that holds information about a link. |
All search results
| Title | Object type | File name | Summary |
|---|---|---|---|
| MenuLinkTree::$menuActiveTrail | property | core/ |
The active menu trail service. |
| MenuLinkTree::$menuLinkManager | property | core/ |
The menu link plugin manager. |
| MenuLinkTree::$routeProvider | property | core/ |
The route provider to load routes by name. |
| MenuLinkTree::$treeStorage | property | core/ |
The menu link tree storage. |
| MenuLinkTree::build | function | core/ |
Builds a renderable array from a menu tree. |
| MenuLinkTree::buildItems | function | core/ |
Builds the #items property for a menu tree's renderable array. |
| MenuLinkTree::createInstances | function | core/ |
Returns a tree containing of MenuLinkTreeElement based upon tree data. |
| MenuLinkTree::getCurrentRouteMenuTreeParameters | function | core/ |
Gets the link tree parameters for rendering a specific menu. |
| MenuLinkTree::getExpanded | function | core/ |
Finds expanded links in a menu given a set of possible parents. |
| MenuLinkTree::getSubtreeHeight | function | core/ |
Finds the height of a subtree rooted by of the given ID. |
| MenuLinkTree::load | function | core/ |
Loads a menu tree with a menu link plugin instance at each element. |
| MenuLinkTree::maxDepth | function | core/ |
Returns the maximum depth of tree that is supported. |
| MenuLinkTree::transform | function | core/ |
Applies menu link tree manipulators to transform the given tree. |
| MenuLinkTree::__construct | function | core/ |
Constructs a \Drupal\Core\Menu\MenuLinkTree object. |
| MenuLinkTreeElement | class | core/ |
Provides a value object to model an element in a menu link tree. |
| MenuLinkTreeElement.php | file | core/ |
|
| MenuLinkTreeElement::$access | property | core/ |
Whether this link is accessible by the current user. |
| MenuLinkTreeElement::$depth | property | core/ |
The depth of this link relative to the root of the tree. |
| MenuLinkTreeElement::$hasChildren | property | core/ |
Whether this link has any children at all. |
| MenuLinkTreeElement::$inActiveTrail | property | core/ |
Whether this link is in the active trail. |
| MenuLinkTreeElement::$link | property | core/ |
The menu link for this element in a menu link tree. |
| MenuLinkTreeElement::$options | property | core/ |
Additional options for this link. |
| MenuLinkTreeElement::$subtree | property | core/ |
The subtree of this element in the menu link tree (this link's children). |
| MenuLinkTreeElement::count | function | core/ |
Counts all menu links in the current subtree. |
| MenuLinkTreeElement::__construct | function | core/ |
Constructs a new \Drupal\Core\Menu\MenuLinkTreeElement. |
| MenuLinkTreeElementTest | class | core/ |
Tests the menu link tree element value object. |
| MenuLinkTreeElementTest.php | file | core/ |
|
| MenuLinkTreeElementTest::testConstruction | function | core/ |
Tests construction. |
| MenuLinkTreeElementTest::testCount | function | core/ |
Tests count(). |
| MenuLinkTreeInterface | interface | core/ |
Defines an interface for loading, transforming and rendering menu link trees. |
| MenuLinkTreeInterface.php | file | core/ |
|
| MenuLinkTreeInterface::build | function | core/ |
Builds a renderable array from a menu tree. |
| MenuLinkTreeInterface::getCurrentRouteMenuTreeParameters | function | core/ |
Gets the link tree parameters for rendering a specific menu. |
| MenuLinkTreeInterface::getExpanded | function | core/ |
Finds expanded links in a menu given a set of possible parents. |
| MenuLinkTreeInterface::getSubtreeHeight | function | core/ |
Finds the height of a subtree rooted by of the given ID. |
| MenuLinkTreeInterface::load | function | core/ |
Loads a menu tree with a menu link plugin instance at each element. |
| MenuLinkTreeInterface::maxDepth | function | core/ |
Returns the maximum depth of tree that is supported. |
| MenuLinkTreeInterface::transform | function | core/ |
Applies menu link tree manipulators to transform the given tree. |
| MenuLinkTreeTest | class | core/ |
Tests the menu link tree. |
| MenuLinkTreeTest | class | core/ |
@coversDefaultClass \Drupal\Core\Menu\MenuLinkTree[[api-linebreak]] @group Menu |
| MenuLinkTreeTest.php | file | core/ |
|
| MenuLinkTreeTest.php | file | core/ |
|
| MenuLinkTreeTest::$linkTree | property | core/ |
The tested menu link tree. |
| MenuLinkTreeTest::$menuLinkManager | property | core/ |
The menu link plugin manager. |
| MenuLinkTreeTest::$menuLinkTree | property | core/ |
The tested menu link tree service. |
| MenuLinkTreeTest::$modules | property | core/ |
Modules to enable. |
| MenuLinkTreeTest::providerTestBuildCacheability | function | core/ |
Provides the test cases to test for ::testBuildCacheability(). |
| MenuLinkTreeTest::setUp | function | core/ |
|
| MenuLinkTreeTest::setUp | function | core/ |
|
| MenuLinkTreeTest::testBuildCacheability | function | core/ |
@covers ::build[[api-linebreak]] |
Pagination
- Previous page
- Page 37
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.