You are here

function devel_views_object in Devel 5

1 string reference to 'devel_views_object'
devel_menu in ./devel.module
Implementation of hook_menu().

File

./devel.module, line 233

Code

function devel_views_object($type, $view_name) {
  $view = views_get_view($view_name);
  $return = views_build_view($type, $view);

  // dvr($return);
  return devel_print_object($return);
}