You are here

function clone_views_api in Node clone 6

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

Implementation of hook_views_api.

File

./clone.module, line 97
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' => 2,
    'path' => drupal_get_path('module', 'clone') . '/views',
  );
}