theme_links

Versions
4.6 – 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 453

<?php
function theme_links($links, $delimiter = ' | ') {
  return implode($delimiter, $links);
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.