theme_more_link

Definition

theme_more_link($url, $title)
drupal/includes/theme.inc, line 1605

Description

Returns code that emits the 'more' link used on blocks.

Parameters

$url The url of the main page

$title A descriptive verb for the link, like 'Read more'

Related topics

Namesort iconDescription
Default theme implementationsFunctions and templates that present output to the user, and can be implemented by themes.

Code

function theme_more_link($url, $title) {
  return '<div class="more-link">' . t('<a href="@link" title="@title">more</a>', array('@link' => check_url($url), '@title' => $title)) . '</div>';
}