function _shorten_shurly in Shorten URLs 7
Same name and namespace in other branches
- 8.2 shorten.module \_shorten_shurly()
- 8 shorten.module \_shorten_shurly()
- 6 shorten.module \_shorten_shurly()
- 7.2 shorten.module \_shorten_shurly()
Helps get a shortened URL via the ShURLy module.
1 string reference to '_shorten_shurly'
- shorten_shorten_service in ./
shorten.module - Implements hook_shorten_service().
File
- ./
shorten.module, line 333 - Shortens URLs via external services.
Code
function _shorten_shurly($original) {
$result = shurly_shorten($original);
return $result['shortUrl'];
}