function total_control_views_api in Total Control Admin Dashboard 7.2
Same name and namespace in other branches
- 6.2 total_control.module \total_control_views_api()
- 6 total_control.module \total_control_views_api()
Implements 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 159
Code
function total_control_views_api() {
return array(
'api' => 2,
);
}