MenuTreeDataTestCase::$links

Dummy link structure acceptable for menu_tree_data().

Type: links

File

modules/simpletest/tests/menu.test, line 935

Class

MenuTreeDataTestCase
Menu tree data related tests.

Code

var $links = array(
    1 => array(
        'mlid' => 1,
        'depth' => 1,
    ),
    2 => array(
        'mlid' => 2,
        'depth' => 1,
    ),
    3 => array(
        'mlid' => 3,
        'depth' => 2,
    ),
    4 => array(
        'mlid' => 4,
        'depth' => 3,
    ),
    5 => array(
        'mlid' => 5,
        'depth' => 1,
    ),
);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.