You are here

function revisioning_views_api in Revisioning 8

Same name and namespace in other branches
  1. 6.4 revisioning.module \revisioning_views_api()
  2. 6.3 revisioning.module \revisioning_views_api()
  3. 7 revisioning.module \revisioning_views_api()

Implements hook_views_api().

File

./revisioning.module, line 723
Allows content to be updated and reviewed before submitting it for publication, while the current live revision remains unchanged and publicly visible until the changes have been reviewed and found fit for publication by a moderator.

Code

function revisioning_views_api() {
  return array(
    'api' => views_api_version(),
    'path' => drupal_get_path('module', 'revisioning') . '/views',
  );
}