Full ELMS Learning Network documentation
function theme_more_link
×
Error message
User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).cis7 theme.inc | theme_more_link($variables) |
cle7 theme.inc | theme_more_link($variables) |
elmsmedia7 theme.inc | theme_more_link($variables) |
icor7 theme.inc | theme_more_link($variables) |
meedjum_blog7 theme.inc | theme_more_link($variables) |
mooc7 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
3 theme calls to theme_more_link()
- aggregator_block_view in modules/
aggregator/ aggregator.module - Implements hook_block_view().
- theme_node_recent_block in modules/
node/ node.module - Returns HTML for a list of recent content.
- theme_test_init in modules/
simpletest/ tests/ theme_test.module - Implements hook_init().
22 string references to the theme hook from theme_more_link()
Note: this list is generated by looking for the string for this theme hook, so it may include some references that are not actually using this theme hook.
- aggregator_block_view in modules/
aggregator/ aggregator.module - Implements hook_block_view().
- blog_block_view in modules/
blog/ blog.module - Implements hook_block_view().
- drupal_common_theme in includes/
common.inc - Provides theme registration for themes across .inc files.
- ds_ds_fields_info in sites/
all/ modules/ ulmus/ ds/ ds.ds_fields_info.inc - Implements hook_ds_fields_info().
- forum_block_view_pre_render in modules/
forum/ forum.module - Render API callback: Lists nodes based on the element's #query property.
File
- includes/
theme.inc, line 2213 - 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>';
}