You are here

views.inc in Share Buttons, Related Posts, Content Analytics - Shareaholic 7

Same filename and directory in other branches
  1. 7.2 includes/views.inc

Views module integration.

File

includes/views.inc
View source
<?php

/**
 * @file
 * Views module integration.
 */

/**
 * Implements hook_views_api().
 */
function sexybookmarks_views_api() {
  return array(
    'api' => 2.0,
  );
}

/**
 * Implements hook_views_data().
 */
function sexybookmarks_views_data() {
  $data = array();
  $data['node']['sexybookmarks'] = array(
    'field' => array(
      'title' => t('SexyBookmarks'),
      'help' => t('SexyBookmarks'),
      'handler' => 'views_handler_field_node_sexybookmarks',
    ),
  );
  return $data;
}

Functions