You are here

function nat_views_api in Node Auto Term [NAT] 6

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

Implementation of hook_views_api().

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

File

./nat.module, line 239
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',
  );
}