You are here

function weight_views_api in Weight 7

Same name and namespace in other branches
  1. 6 weight.module \weight_views_api()
  2. 7.3 weight.module \weight_views_api()
  3. 7.2 weight.module \weight_views_api()

Implements hook_views_api().

File

./weight.module, line 348
This module uses the sticky column of the node table to add weighting to nodes.

Code

function weight_views_api() {
  return array(
    'api' => 3,
    'path' => drupal_get_path('module', 'weight'),
  );
}