You are here

function rrssb_views_data_alter in Ridiculously Responsive Social Sharing Buttons 8.2

Implements hook_views_data_alter().

File

./rrssb.views.inc, line 11
Provide views data for rrssb.module.

Code

function rrssb_views_data_alter(array &$data) {
  $data['node']['rrssb_buttons'] = [
    'title' => t('RRSSB Buttons'),
    'field' => [
      'title' => t('Ridiculously Responsive Social Share Buttons'),
      'help' => t('Show a social button set.'),
      'id' => 'rrssb_buttons',
    ],
  ];
}