function clone_views_data_alter in Node clone 6
Same name and namespace in other branches
- 7 views/clone.views.inc \clone_views_data_alter()
Implementation of hook_views_data_alter()
File
- views/
clone.views.inc, line 26 - 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',
),
);
}