Commit 4043c1d2 authored by Dave Reid's avatar Dave Reid

Fixed default value for parent item in menu_block_menu_tree_content_type_content_types().

parent d313a98e
......@@ -44,6 +44,7 @@ function menu_block_menu_tree_content_type_content_types() {
$items[$menu_name] = $common_plugin;
$items[$menu_name]['title'] = t('%menu menu tree', array('%menu' => $title));
$items[$menu_name]['defaults']['menu_name'] = $menu_name;
$items[$menu_name]['defaults']['parent'] = $menu_name . ':0';
$items[$menu_name]['menu_title'] = $title;
// Custom icons/titles for some menus.
switch ($menu_name) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment