function fasttoggle_comment_views_data_alter in Fasttoggle 7
Implements hook_views_data_alter().
File
- module/
fasttoggle_comment/ views/ fasttoggle_comment.views.inc, line 13 - Views data definitions for Fasttoggle.
Code
function fasttoggle_comment_views_data_alter(&$data) {
$data['comment']['fasttoggle_status'] = array(
'field' => array(
'title' => t('Approve link (Fasttoggle)'),
'help' => t('Provide a simple link to toggle approval of a comment.'),
'handler' => 'fasttoggle_comment_views_handler_field_comment_link',
),
);
}