You are here

function total_control_views_api in Total Control Admin Dashboard 6.2

Same name and namespace in other branches
  1. 6 total_control.module \total_control_views_api()
  2. 7.2 total_control.module \total_control_views_api()

Implementation of hook_views_api().

Register View API information. This is required for your module to have its include files loaded; for example, when implementing hook_views_default_views().

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

./total_control.module, line 105

Code

function total_control_views_api() {
  return array(
    'api' => 3,
  );
}