You are here

function fb_social_views_data in Facebook social plugins integration 6.2

Same name and namespace in other branches
  1. 7.2 fb_social.views.inc \fb_social_views_data()

Implementation of hook_views_data()

File

./fb_social.views.inc, line 11
fb_social_like.views.inc

Code

function fb_social_views_data() {
  $data = array();
  $data['node']['fb_social'] = array(
    'group' => t('Node'),
    'field' => array(
      'title' => t('fb social preset'),
      'help' => t('Provide the fb_social presets as a view field'),
      'handler' => 'fb_social_handler_field',
    ),
  );
  $data['users']['fb_social'] = array(
    'group' => t('User'),
    'field' => array(
      'title' => t('fb social preset'),
      'help' => t('Provide the fb_social presets as a view field'),
      'handler' => 'fb_social_handler_field',
    ),
  );
  return $data;
}