function rrssb_entity_extra_field_info in Ridiculously Responsive Social Sharing Buttons 8.2
Implements hook_entity_extra_field_info().
File
- ./
rrssb.module, line 430
Code
function rrssb_entity_extra_field_info() {
$extra = [];
foreach (NodeType::loadMultiple() as $bundle) {
if ($bundle
->getThirdPartySetting('rrssb', 'button_set', '')) {
$extra['node'][$bundle
->id()]['display']['rrssb'] = [
'label' => t('Ridiculously Responsive Social Share Buttons'),
'description' => t('A fake field to display Social buttons'),
'weight' => 10,
];
}
}
return $extra;
}