Drupal 8  8.0.2
MenuLinkTreeTest Class Reference
Inheritance diagram for MenuLinkTreeTest:

Public Member Functions

 testDeleteLinksInMenu ()
 
 testCreateLinksInMenu ()
 

Static Public Attributes

static $modules
 

Protected Member Functions

 setUp ()
 

Protected Attributes

 $linkTree
 
 $menuLinkManager
 

Detailed Description

Tests the menu link tree.

Menu

See Also

Member Function Documentation

setUp ( )
protected

{}

testCreateLinksInMenu ( )

Tests creating links with an expected tree structure.

References MenuLinkMock\create().

Here is the call graph for this function:

testDeleteLinksInMenu ( )

Tests deleting all the links in a menu.

References Drupal\entityManager().

Here is the call graph for this function:

Field Documentation

Drupal Core Menu MenuLinkManagerInterface $menuLinkManager
protected

The menu link plugin manager.

$modules
static
Initial value:
= array(
'system',
'menu_test',
'menu_link_content',
'field',
'link',
)

The documentation for this class was generated from the following file: