theme_links

  1. drupal
    1. 4.7
    2. 5
    3. 6 theme.inc
    4. 7 theme.inc
Versions
4.7 theme_links($links, $delimiter = ' | ')
5 – 6 theme_links($links, $attributes = array('class' => 'links'))
7 theme_links($variables)

Return a themed set of links.

Parameters

$links An array of links to be themed.

$delimiter A string used to separate the links.

Return value

A string containing the themed links.

Related topics

Code

includes/theme.inc, line 495

<?php
function theme_links($links, $delimiter = ' | ') {
  if (!is_array($links)) {
    return '';
  }
  return implode($delimiter, $links);
}
?>