You are here

function _shorten_shurly in Shorten URLs 8

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