You are here

function views_ui_add_page in Views (for Drupal 7) 7.3

Same name and namespace in other branches
  1. 8.3 views_ui/admin.inc \views_ui_add_page()
  2. 6.3 includes/admin.inc \views_ui_add_page()
  3. 6.2 includes/admin.inc \views_ui_add_page()

Page callback to add a new view.

1 string reference to 'views_ui_add_page'
views_ui_menu in ./views_ui.module
Implements hook_menu().

File

includes/admin.inc, line 301
Provides the Views' administrative interface.

Code

function views_ui_add_page() {
  views_ui_add_admin_css();
  drupal_set_title(t('Add new view'));
  return drupal_get_form('views_ui_add_form');
}