function views_ui_default_load

Same name in other branches
  1. 7.x-3.x views_ui.module \views_ui_default_load()

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

File

./views_ui.module, line 310

Code

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