1 views_ui.module views_ui_default_load($name)

Specialized menu callback to load a view that is only a default view.

File

core/modules/views_ui/views_ui.module, line 426
Provide structure for the administrative interface to Views.

Code

function views_ui_default_load($name) {
  $view = views_get_view($name);
  if ($view->type == t('Default')) {
    return $view;
  }

  return FALSE;
}