You are here

function fb_social_views_data in Facebook social plugins integration 7.2

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

Implements hook_views_data().

File

./fb_social.views.inc, line 11
Provide views handlers and plugins that allow display of .

Code

function fb_social_views_data() {
  $data['node']['fb_social'] = array(
    'title' => t('Facebook Social Plugin'),
    'help' => t('Display a Facebook Social plugin.'),
    'group' => t('Node'),
    'field' => array(
      'help' => t('Display a Facebook Social plugin.'),
      'handler' => 'fb_social_handler_field',
      'real field' => 'nid',
    ),
  );
  $data['users']['fb_social'] = array(
    'title' => t('Facebook Social Plugin'),
    'help' => t('Display a Facebook Social plugin.'),
    'group' => t('User'),
    'field' => array(
      'help' => t('Display a Facebook Social plugin.'),
      'handler' => 'fb_social_handler_field',
      'real field' => 'uid',
    ),
  );
  return $data;
}