function views_api_version

3.x views.module views_api_version()
2.x 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_get_module_apis in ./views.module
Get a list of modules that support the current views API.
views_module_include in ./views.module
Load views files on behalf of modules.
views_ui_import_validate in includes/admin.inc
Validate handler to import a view.
views_views_api in ./views.module
Implements hook_views_api().

File

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

Code

function views_api_version() {
  return '3.0';
}