theme_more_link
function theme_more_link
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 2305
- The theme system, which controls the output of Drupal.
Code
function theme_more_link($variables) { return '<div class="more-link">' . l(t('More'), $variables['url'], array('attributes' => array('title' => $variables['title']))) . '</div>'; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!theme.inc/function/theme_more_link/7.x