You are here

function views_api_version in Views (for Drupal 7) 6.3

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

Advertise the current views api version

5 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_get_module_apis in ./views.module
Get a list of modules that support the current views API.
views_ui_import_validate in includes/admin.inc
Validate handler to import a view
views_views_api in includes/handlers.inc
Implementation of hook_views_api().

File

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

Code

function views_api_version() {
  return '3.0';
}