clone.views.inc 335 B

1234567891011121314
  1. <?php
  2. /**
  3. * Implements hook_views_data_alter()
  4. */
  5. function clone_views_data_alter(&$views_data) {
  6. $views_data['node']['clone_node'] = array(
  7. 'field' => array(
  8. 'title' => t('Clone link'),
  9. 'help' => t('Provide a simple link to clone the node.'),
  10. 'handler' => 'views_handler_field_node_link_clone',
  11. ),
  12. );
  13. }