You are here

function views_api_version in Views (for Drupal 7) 6.2

Same name and namespace in other branches
  1. 8.3 views.module \views_api_version()
  2. 6.3 views.module \views_api_version()
  3. 7.3 views.module \views_api_version()

Advertise the current views api version

3 calls to views_api_version()
view::export in includes/view.inc
Export a view as PHP code.
views_export_export_form_submit in views_export/views_export.module
views_ui_import_validate in includes/admin.inc
Validate handler to import a view

File

./views.module, line 14
Primarily Drupal hooks and global API functions to manipulate views.

Code

function views_api_version() {
  return 2.0;
}