You are here

function tweetbutton_views_data in Tweet Button 6

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

File

./tweetbutton.views.inc, line 3

Code

function tweetbutton_views_data() {
  $data = array();
  $data['node']['tweetbutton'] = array(
    'field' => array(
      'title' => t('Tweet button'),
      'help' => t('Provide a tweet button field.'),
      'handler' => 'views_handler_field_tweetbutton_node',
    ),
  );
  $data['users']['tweetbutton'] = array(
    'field' => array(
      'title' => t('Tweet button'),
      'help' => t('Provide a tweet button field.'),
      'handler' => 'views_handler_field_tweetbutton_user',
    ),
  );
  $data['term_data']['tweetbutton'] = array(
    'field' => array(
      'title' => t('Tweet button'),
      'help' => t('Provide a tweet button field.'),
      'handler' => 'views_handler_field_tweetbutton_taxonomy',
    ),
  );
  return $data;
}