You are here

sharethis.views.inc in ShareThis 8.2

Same filename and directory in other branches
  1. 6 sharethis.views.inc

Provide views data for tracker.module.

File

sharethis.views.inc
View source
<?php

/**
 * @file
 * Provide views data for tracker.module.
 */

/**
 * Implements hook_views_data().
 */
function sharethis_views_data() {
  $data = [];

  // ShareThis link.
  $data['node']['sharethis_node'] = [
    'title' => t('ShareThis Link'),
    'help' => t('Link provided by the ShareThis service.'),
    'field' => [
      'id' => 'sharethis_node',
      'help' => t('Show Sharethis for a particular node.'),
    ],
  ];
  return $data;
}

Functions

Namesort descending Description
sharethis_views_data Implements hook_views_data().