function views_api_version

3.x views.module views_api_version()
2.x 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;
}