You are here

function views_views_api in Views (for Drupal 7) 8.3

Same name and namespace in other branches
  1. 6.3 includes/handlers.inc \views_views_api()
  2. 6.2 includes/handlers.inc \views_views_api()
  3. 7.3 views.module \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 2332
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',
  );
}