You are here

function nat_views_api in Node Auto Term [NAT] 7.2

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

Implements hook_views_api().

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

File

./nat.module, line 296
NAT - node auto term - is a helper module that automatically creates a term using the same title as a node.

Code

function nat_views_api() {
  return array(
    'api' => 2,
    'path' => drupal_get_path('module', 'nat') . '/includes',
  );
}