You are here

function clone_views_api in Node clone 7

Same name and namespace in other branches
  1. 6 clone.module \clone_views_api()

Implements hook_views_api.

File

./clone.module, line 163
Allow users to make a copy of an item of content (a node) and then edit that copy.

Code

function clone_views_api() {
  return array(
    'api' => 3,
    'path' => drupal_get_path('module', 'clone') . '/views',
  );
}