You are here

function views_api_version in Views (for Drupal 7) 7.3

Same name and namespace in other branches
  1. 8.3 views.module \views_api_version()
  2. 6.3 views.module \views_api_version()
  3. 6.2 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 41
Primarily Drupal hooks and global API functions to manipulate views.

Code

function views_api_version() {
  return '3.0';
}