function views_ui_default_load
3.x views_ui.module | views_ui_default_load($name) |
2.x views_ui.module | views_ui_default_load($name) |
Specialized menu callback to load a view that is only a default view.
File
- ./
views_ui.module, line 356 - 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;
}