You are here

function follow_theme in Follow 7.2

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

Implements hook_theme().

File

./follow.module, line 97

Code

function follow_theme() {
  $items = array();
  $items['follow_links_form'] = array(
    'render element' => 'form',
  );
  $items['follow_links'] = array(
    'variables' => array(
      'links' => array(),
      'networks' => array(),
      'alignment' => NULL,
      // The type of the links, 'user' or 'site'.
      'type' => NULL,
    ),
  );
  $items['follow_link'] = array(
    'variables' => array(
      'link' => NULL,
      'title' => NULL,
    ),
  );
  $items['follow_css'] = array(
    'variables' => array(
      'icon_style_name' => NULL,
      'icon_style' => array(),
      'icon_path' => NULL,
      'hide_text' => FALSE,
      'selector_prefix' => '',
      'css_overrides' => '',
    ),
    'template' => 'follow-css',
  );
  return $items;
}