You are here

function theme_apachesolr_stats_block in Apache Solr Statistics 7

Same name and namespace in other branches
  1. 6.3 apachesolr_stats.module \theme_apachesolr_stats_block()
  2. 6 apachesolr_stats.module \theme_apachesolr_stats_block()

Theme content for apachesolr_stats_block().

Parameters

array $links: An array, each element is a link to launch a search for that word.

Return value

HTML, the themed block content.

1 theme call to theme_apachesolr_stats_block()
apachesolr_stats_block_view in ./apachesolr_stats.module
Implements hook_block_view().

File

./apachesolr_stats.module, line 1012
Keeps and reports statistics about Apache Solr usage and performance.

Code

function theme_apachesolr_stats_block($variables) {
  return theme('item_list', array(
    'items' => $variables['links'],
  ));
}