You are here

function revisioning_scheduler_views_api in Revisioning 6.3

Same name and namespace in other branches
  1. 8 revisioning_scheduler/revisioning_scheduler.module \revisioning_scheduler_views_api()
  2. 7 revisioning_scheduler/revisioning_scheduler.module \revisioning_scheduler_views_api()

Register View API information.

Return value

An array with the following possible keys:

  • api: (required) The version of the Views API the module implements.
  • path: (optional) If includes are stored somewhere other than within the root module directory or a subdirectory called includes, specify its path here.

File

revisioning_scheduler/revisioning_scheduler.module, line 17
Allows for revisions to be published at a specified time and date.

Code

function revisioning_scheduler_views_api() {
  return array(
    'api' => views_api_version(),
    'path' => drupal_get_path('module', 'revisioning_scheduler'),
  );
}