favorite_services.module in Service links 6.2
Same filename and directory in other branches
Extends Service Links with browser bookmarking.
@author Fabio Mucciante (TheCrow)
File
services/favorite_services.moduleView source
<?php
/**
* @file
* Extends Service Links with browser bookmarking.
*
* @author Fabio Mucciante (TheCrow)
*/
/**
* Implementation of hook_service_links().
*/
function favorite_services_service_links() {
$links['favorite'] = array(
'name' => t('Favorite'),
'description' => t('Add this page in your favorites'),
'link' => '<url>&favtitle=<raw-encoded-title>',
'attributes' => array(
'style' => 'display:none;',
),
'javascript' => 'favorite_services.js',
);
return $links;
}
Functions
Name | Description |
---|---|
favorite_services_service_links | Implementation of hook_service_links(). |