function weight_views_api in Weight 6
Same name and namespace in other branches
- 7.3 weight.module \weight_views_api()
- 7 weight.module \weight_views_api()
- 7.2 weight.module \weight_views_api()
Implementation of hook_views_api().
File
- ./
weight.module, line 505 - This module uses the sticky column of the node table to add weighting to nodes.
Code
function weight_views_api() {
return array(
'api' => 2,
'path' => drupal_get_path('module', 'weight') . '/views',
);
}