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