function clone_views_data_alter in Node clone 7
Same name and namespace in other branches
- 6 views/clone.views.inc \clone_views_data_alter()
Implements hook_views_data_alter()
File
- views/
clone.views.inc, line 10 - Views settings for Node_Clone module.
Code
function clone_views_data_alter(&$views_data) {
$views_data['node']['clone_node'] = array(
'field' => array(
'title' => t('Clone link'),
'help' => t('Provide a simple link to clone the node.'),
'handler' => 'views_handler_field_node_link_clone',
),
);
}