1.20.x theme.inc 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

File

includes/theme.inc, line 2538
The theme system, which controls the output of Backdrop.

Code

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