You are here

function theme_apachesolr_image_snippet in Apache Solr Search 5.2

Same name and namespace in other branches
  1. 6 contrib/apachesolr_image/apachesolr_image.module \theme_apachesolr_image_snippet()
  2. 6.2 contrib/apachesolr_image/apachesolr_image.module \theme_apachesolr_image_snippet()
1 theme call to theme_apachesolr_image_snippet()
apachesolr_image_apachesolr_process_results in contrib/apachesolr_image/apachesolr_image.module
Implementation of hook_apachesolr_process_results().

File

contrib/apachesolr_image/apachesolr_image.module, line 47

Code

function theme_apachesolr_image_snippet($item) {
  return '<span class="apachesolr-image-result">' . theme('image', $item['node']->ss_image_relative, $item['title'], $item['title'], array(
    'align' => 'left',
  )) . '</span>' . $item['snippet'] . '<br clear="all"/>';
}