1 link.module link_theme()

Implements hook_theme().

File

core/modules/link/link.module, line 775
Defines simple link field types.

Code

function link_theme() {
  $base = array(
    'file' => 'link.theme.inc',
  );

  return array(
    'link_formatter_link_default' => array(
      'variables' => array('element' => NULL, 'field' => NULL),
    ) + $base,
    'link_formatter_link_plain' => array(
      'variables' => array('element' => NULL, 'field' => NULL),
    ) + $base,
    'link_formatter_link_absolute' => array(
      'variables' => array('element' => NULL, 'field' => NULL),
    ) + $base,
    'link_formatter_link_domain' => array(
      'variables' => array('element' => NULL, 'display' => NULL, 'field' => NULL),
    ) + $base,
    'link_formatter_link_title_plain' => array(
      'variables' => array('element' => NULL, 'field' => NULL),
    ) + $base,
    'link_formatter_link_url' => array(
      'variables' => array('element' => NULL, 'field' => NULL),
    ) + $base,
    'link_formatter_link_short' => array(
      'variables' => array('element' => NULL, 'field' => NULL),
    ) + $base,
    'link_formatter_link_label' => array(
      'variables' => array('element' => NULL, 'field' => NULL),
    ) + $base,
    'link_formatter_link_separate' => array(
      'variables' => array('element' => NULL, 'field' => NULL),
    ) + $base,
    'link_field' => array(
      'render element' => 'element',
    ) + $base,
  );
}