theme_more_link

  1. drupal
    1. 6
    2. 8
    3. 7
Versions
6 theme_more_link($url, $title)
8 – 7 theme_more_link($variables)

Returns HTML for a "more" link, like those used in blocks.

Parameters

$variables An associative array containing:

  • url: The url of the main page.
  • title: A descriptive verb for the link, like 'Read more'.

Related topics

Code

includes/theme.inc, line 1942

<?php
function theme_more_link($variables) {
  return '<div class="more-link">' . l(t('More'), $variables['url'], array('attributes' => array('title' => $variables['title']))) . '</div>';
}
?>