views_views_api

6 handlers.inc views_views_api()
7 views.module views_views_api()

Implementation of hook_views_api().

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

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',
  );
}
Login or register to post comments