function _shorten_shurly in Shorten URLs 6
Same name and namespace in other branches
- 8.2 shorten.module \_shorten_shurly()
- 8 shorten.module \_shorten_shurly()
- 7.2 shorten.module \_shorten_shurly()
- 7 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 - Implementation of hook_shorten_service().
File
- ./
shorten.module, line 319 - Shortens URLs via external services.
Code
function _shorten_shurly($original) {
$result = shurly_shorten($original);
return $result['shortUrl'];
}