You are here

function _shorten_shurly in Shorten URLs 6

Same name and namespace in other branches
  1. 8.2 shorten.module \_shorten_shurly()
  2. 8 shorten.module \_shorten_shurly()
  3. 7.2 shorten.module \_shorten_shurly()
  4. 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'];
}