You are here

function views_views_api in Views (for Drupal 7) 7.3

Same name and namespace in other branches
  1. 8.3 views.module \views_views_api()
  2. 6.3 includes/handlers.inc \views_views_api()
  3. 6.2 includes/handlers.inc \views_views_api()

Implements hook_views_api().

This one is used as the base to reduce errors when updating.

1 call to views_views_api()
views.module in ./views.module
Primarily Drupal hooks and global API functions to manipulate views.

File

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

Code

function views_views_api() {
  return array(
    // In your modules do *not* use views_api_version()!!!
    'api' => views_api_version(),
    'path' => drupal_get_path('module', 'views') . '/modules',
  );
}