Contributions API

Calling all Drupal developers!

Help us get this on the first page of Digg. DIGG NOW!

Modules in 6

views_ui_default_load

Definition

views_ui_default_load($name)
contributions/views/views_ui.module, line 286

Description

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

Code

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

  return FALSE;
}
?>