diff options
Diffstat (limited to 'mod/test')
-rw-r--r-- | mod/test/start.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mod/test/start.php b/mod/test/start.php index 2eedf6431..f406b8abb 100644 --- a/mod/test/start.php +++ b/mod/test/start.php @@ -18,6 +18,11 @@ extend_view("pageshell", "testplugin/pageshell");
set_view_location("testplugin/pageshell",$CONFIG->pluginspath . "test/views/");
+ // Test menu item
+ add_menu("Test plugin",$CONFIG->wwwroot . "mod/test/",array(
+ menu_item("Main test plugin page",$CONFIG->wwwroot."mod/test/"),
+ ));
+
}
// Make sure test_init is called on initialisation
|