theme_more_link

Versions
6
theme_more_link($url, $title)
7
theme_more_link($variables)

Returns code that emits the 'more' link used on 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 1956

<?php
function theme_more_link($variables) {
  return '<div class="more-link">' . t('<a href="@link" title="@title">more</a>', array('@link' => check_url($variables['url']), '@title' => $variables['title'])) . '</div>';
}
?>
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.