You are here

function theme_follow_links in Follow 7.2

Same name and namespace in other branches
  1. 5 follow.module \theme_follow_links()
  2. 6 follow.module \theme_follow_links()
  3. 7 follow.module \theme_follow_links()

Theme function to output a list of links.

Parameters

$links: An array of follow link objects.

$networks: An array of network names, keys are machine names, values are visible titles.

$alignment: A string depicting whether the icons should be displayed in a "horizontal" or "vertical" list.

1 theme call to theme_follow_links()
follow_preprocess_page in ./follow.module
Implements hook_preprocess_page().

File

./follow.module, line 373

Code

function theme_follow_links($variables) {
  $element = _follow_links_element($variables['links'], $variables['networks'], $variables['type'], $variables['alignment']);
  return render($element);
}