Same name and namespace in other branches
  1. 6.x-3.x 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 2753
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',
  );
}