protected function MenuRouterTest::doTestDescriptionMenuItems in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/system/src/Tests/Menu/MenuRouterTest.php \Drupal\system\Tests\Menu\MenuRouterTest::doTestDescriptionMenuItems()
Tests menu item descriptions.
File
- core/
modules/ system/ src/ Tests/ Menu/ MenuRouterTest.php, line 108 - Contains \Drupal\system\Tests\Menu\MenuRouterTest.
Class
- MenuRouterTest
- Tests menu router and default menu link functionality.
Namespace
Drupal\system\Tests\MenuCode
protected function doTestDescriptionMenuItems() {
// Verify that the menu router item title is output as page title.
$this
->drupalGet('menu_callback_description');
$this
->assertText(t('Menu item description text'));
}