function _menu_views_default_values in Menu Views 8.3
Same name and namespace in other branches
- 7.2 menu_views.module \_menu_views_default_values()
3 calls to _menu_views_default_values()
- menu_views_update_7200 in ./
menu_views.install - Upgrades existing menu items that have attached views. This is a major update for the 7.x-2.x branch.
- _menu_views_form_submit in ./
menu_views.admin.inc - Submit handler for menu_edit_item form.
- _menu_views_get_item in ./
menu_views.module - Helper function to return the menu view array from a menu item array or form array.
File
- ./
menu_views.module, line 250 - Module to allow Views to be attached as menu items.
Code
function _menu_views_default_values() {
return array(
'mlid' => 0,
'type' => 'link',
'original_path' => '',
'view' => array(
'name' => FALSE,
'display' => FALSE,
'arguments' => '',
'settings' => array(
'wrapper_classes' => 'menu-views',
'breadcrumb' => TRUE,
'breadcrumb_title' => '',
'breadcrumb_path' => '<front>',
'title' => FALSE,
'title_wrapper' => '',
'title_classes' => '',
'title_override' => '',
),
),
);
}