You are here

function shurly_service_views_api in ShURLy 6

Same name and namespace in other branches
  1. 8 shurly_service/shurly_service.module \shurly_service_views_api()
  2. 7 shurly_service/shurly_service.module \shurly_service_views_api()

Implementation of hook_views_api. Notifies the Views module that we're compatible with a particular API revision.

File

shurly_service/shurly_service.module, line 116
Link ShURLy functionalities to services module. @todo

Code

function shurly_service_views_api() {
  return array(
    'api' => 2,
    'path' => drupal_get_path('module', 'shurly_service') . '/views',
  );
}