link.inc in Share Buttons, Related Posts, Content Analytics - Shareaholic 7
Same filename and directory in other branches
Link module integration.
File
includes/link.incView source
<?php
/**
* @file
* Link module integration.
*/
/**
* Implements hook_sexybookmarks_field_formatter_info() on behalf of link.module.
*/
function link_sexybookmarks_field_formatter_info() {
return array(
'link_field' => array(
'callback' => 'link_sexybookmarks_field_formatter_data',
),
);
}
/**
* Callback for Link module SexyBookmarks formatter.
*/
function link_sexybookmarks_field_formatter_data($item) {
return array(
'url' => $item['url'],
'title' => $item['title'],
);
}
Functions
Name | Description |
---|---|
link_sexybookmarks_field_formatter_data | Callback for Link module SexyBookmarks formatter. |
link_sexybookmarks_field_formatter_info | Implements hook_sexybookmarks_field_formatter_info() on behalf of link.module. |