You are here

function views_views_api in Views (for Drupal 7) 6.3

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

Implementation of hook_views_api().

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

1 call to views_views_api()
handlers.inc in includes/handlers.inc
handlers.inc Defines the various handler objects to help build and display views.

File

includes/handlers.inc, line 1753
handlers.inc Defines the various handler objects to help build and display 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',
  );
}