first import
This commit is contained in:
14
sites/all/modules/node_clone/views/clone.views.inc
Normal file
14
sites/all/modules/node_clone/views/clone.views.inc
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Implements hook_views_data_alter()
|
||||
*/
|
||||
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',
|
||||
),
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user