Now all modules are in core modules folder

This commit is contained in:
Manuel Cillero 2017-08-08 12:14:45 +02:00
parent 5ba1cdfa0b
commit 05b6a91b0c
1907 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,35 @@
<?php
/**
* @file
* Views settings for Node_Clone module.
*/
/**
* Implementation of hook_views_handlers()
*/
function clone_views_handlers() {
return array(
'info' => array(
'path' => drupal_get_path('module', 'clone') . '/views',
),
'handlers' => array(
'views_handler_field_node_link_clone' => array(
'parent' => 'views_handler_field_node_link',
),
),
);
}
/**
* Implementation of 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',
),
);
}