You are here

function private_views_api in Private 7.2

Same name and namespace in other branches
  1. 6 private.module \private_views_api()
  2. 7 private.module \private_views_api()

Tell Views that we're down with it, yo.

File

./private.module, line 424
A tremendously simple access control module -- it allows users to mark individual nodes as private; users with 'access private content' perms can read these nodes, while others cannot.

Code

function private_views_api() {
  return array(
    'api' => 2,
    'path' => drupal_get_path('module', 'private'),
  );
}