Error message
You are browsing documentation for drupal 7.x, which is not supported anymore. Read the updated version of this page for drupal 11.x (the latest version).function MenuTestCase::doCustomMenuTests
Test custom menu functionality using navigation menu.
1 call to MenuTestCase::doCustomMenuTests()
- MenuTestCase::testMenu in modules/
menu/ menu.test - Login users, add menus and menu links, and test menu functionality through the admin and user interfaces.
File
-
modules/
menu/ menu.test, line 101
Class
- MenuTestCase
- @file Tests for menu.module.
Code
function doCustomMenuTests() {
$this->menu = $this->addCustomMenu ();
$this->doMenuTests ($this->menu ['menu_name']);
$this->addInvalidMenuLink ($this->menu ['menu_name']);
$this->addCustomMenuCRUD ();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.