You are here

link.inc in Share Buttons, Related Posts, Content Analytics - Shareaholic 7.2

Same filename and directory in other branches
  1. 7 includes/link.inc

Link module integration.

File

includes/link.inc
View 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

Namesort descending 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.