You are here

function tweetbutton_views_data in Tweet Button 7

Same name and namespace in other branches
  1. 6 tweetbutton.views.inc \tweetbutton_views_data()

Implements of hook_views_data_alter().

File

./tweetbutton.views.inc, line 7

Code

function tweetbutton_views_data() {
  $data = array();
  $data['tweetbutton']['table']['group'] = t('tweet button');
  $data['tweetbutton']['table']['join'] = array(
    '#global' => array(),
  );
  $data['tweetbutton']['tweetbutton'] = array(
    'group' => t('tweet button'),
    'field' => array(
      'title' => t('Tweet Button'),
      'help' => t('Tweet button for this node.'),
      'handler' => 'tweetbutton_handler_field_tweet',
    ),
  );
  return $data;
}