function shorten_sexybookmarks_config_alter in Share Buttons, Related Posts, Content Analytics - Shareaholic 7
Same name and namespace in other branches
- 7.2 includes/shorten.inc \shorten_sexybookmarks_config_alter()
Implements hook_sexybookmarks_config_alter() on behalf of shorten.module.
File
- includes/
shorten.inc, line 22 - Shorten module integration.
Code
function shorten_sexybookmarks_config_alter(&$config, &$variables) {
if ($config['shortener'] == 'drupal_shorten') {
$config['shortener'] = 'none';
$variables['url'] = shorten_url($variables['url']);
}
}