function _menu_views_options_tree in Menu Views 7.2
Same name and namespace in other branches
- 8.3 menu_views.module \_menu_views_options_tree()
Helper function to determine whether the form menu item options are a tree.
2 calls to _menu_views_options_tree()
- _menu_views_form_parents in ./
menu_views.admin.inc - Helper function to determine where form values for menu views are located.
- _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 276 - Module to allow Views to be attached as menu items.
Code
function _menu_views_options_tree($form) {
return isset($form['#node']) && isset($form['menu']['link']['options']['#tree']) && $form['menu']['link']['options']['#tree'] || isset($form['options']['#tree']) && $form['options']['#tree'];
}