Simple RRSSB
Component ID
2545664
Component name
Simple RRSSB
Component type
module
Maintenance status
Development status
Component security advisory coverage
covered
Downloads
746
Component created
Component changed
Component body
A simple module for using RRSSB in Drupal.
It can be used like this:
// Add RRSSB share buttons.
$form['rrssb'] = array(
'#markup' => srrssb(
[
'buttons' => ['googleplus', 'linkedin', 'facebook', 'twitter', 'email'],
'url' => $url,
'title' => $title,
'summary' => $description,
'hashtags' => $hashtags,
'lng' => $lng,
]),
);
It also provides this alter hook:
/**
* Implements hook_srrssb_alter().
* It is called by: drupal_alter('srrssb', $buttons, $options);
*/
function MODULE_srrssb_alter($buttons, $options) {
}
