You are here

function forward_services_service_links in Service links 7.2

Same name and namespace in other branches
  1. 6.2 services/forward_services.module \forward_services_service_links()

Implements hook_service_links().

File

services/forward_services.module, line 13
Extends Service Links with Forward module support.

Code

function forward_services_service_links() {
  $links = array();
  $links['forward'] = array(
    'name' => 'Forward',
    'link' => variable_get('clean_url', 0) == 1 ? '<front-page>forward?path=<encoded-query>' : '<front-page>forward&path=<encoded-query>',
    'description' => t('Send to a friend'),
    'preset' => 'forward_url_fix',
  );
  return $links;
}