You are here

function link_theme in Link 7

Same name and namespace in other branches
  1. 6.2 link.module \link_theme()
  2. 6 link.module \link_theme()

Implements hook_theme().

File

./link.module, line 967
Defines simple link field types.

Code

function link_theme() {
  return array(
    'link_formatter_link_default' => array(
      'variables' => array(
        'element' => NULL,
        'field' => NULL,
      ),
    ),
    'link_formatter_link_plain' => array(
      'variables' => array(
        'element' => NULL,
        'field' => NULL,
      ),
    ),
    'link_formatter_link_host' => array(
      'variables' => array(
        'element' => NULL,
      ),
    ),
    'link_formatter_link_absolute' => array(
      'variables' => array(
        'element' => NULL,
        'field' => NULL,
      ),
    ),
    'link_formatter_link_domain' => array(
      'variables' => array(
        'element' => NULL,
        'display' => NULL,
        'field' => NULL,
      ),
    ),
    'link_formatter_link_no_protocol' => array(
      'variables' => array(
        'element' => NULL,
        'field' => NULL,
      ),
    ),
    'link_formatter_link_title_plain' => array(
      'variables' => array(
        'element' => NULL,
        'field' => NULL,
      ),
    ),
    'link_formatter_link_url' => array(
      'variables' => array(
        'element' => NULL,
        'field' => NULL,
      ),
    ),
    'link_formatter_link_short' => array(
      'variables' => array(
        'element' => NULL,
        'field' => NULL,
      ),
    ),
    'link_formatter_link_label' => array(
      'variables' => array(
        'element' => NULL,
        'field' => NULL,
      ),
    ),
    'link_formatter_link_separate' => array(
      'variables' => array(
        'element' => NULL,
        'field' => NULL,
      ),
    ),
    'link_field' => array(
      'render element' => 'element',
    ),
  );
}