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) {

}

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • caution Maintenance fixes only
    Considered feature-complete by its maintainers.
  • Created by dashohoxha on , updated
  • shieldStable releases for this project are covered by the security advisory policy.
    There are currently no supported stable releases.

Releases