You are here

function mediafront_views_api in MediaFront 7.2

Same name and namespace in other branches
  1. 6.2 mediafront.module \mediafront_views_api()
  2. 6 mediafront.module \mediafront_views_api()
  3. 7 mediafront.module \mediafront_views_api()

Implements hook_views_api().

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

File

./mediafront.module, line 133

Code

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