You are here

function sharethis_views_data in ShareThis 7.2

Same name and namespace in other branches
  1. 8.2 sharethis.views.inc \sharethis_views_data()
  2. 6 sharethis.views.inc \sharethis_views_data()

Implements hook_views_data().

File

views/sharethis.views.inc, line 11
Views integration for ShareThis.

Code

function sharethis_views_data() {
  $data = array();

  // ShareThis link.
  $data['node']['sharethis'] = array(
    'title' => t('ShareThis Link'),
    'help' => t('Link provided by the ShareThis service.'),
    'field' => array(
      'handler' => 'sharethis_handler_field_link',
      'click sortable' => FALSE,
    ),
  );
  return $data;
}