You are here

function rolereference_views_api in Role Reference 6

Same name and namespace in other branches
  1. 7 rolereference.module \rolereference_views_api()

Implementation of hook_views_api.

File

./rolereference.module, line 25
Defines a field type for referencing a role. Based almost entirely on nodereference and userreference modules.

Code

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