You are here

function quote_views_data_alter in Quote 7

Implements hook_views_data_alter().

File

views/quote.views.inc, line 11
Provide views data and handlers for the Quote module.

Code

function quote_views_data_alter(&$data) {

  // Link to quote to comment.
  $data['comment']['quote_comment'] = array(
    'group' => t('Comment'),
    'title' => t('Quote link'),
    'help' => t('Provide a simple link to quote to the comment.'),
    'field' => array(
      'handler' => 'quote_handler_field_comment_link_quote',
    ),
  );
}