You are here

function apachesolr_search_theme in Apache Solr Search 6.3

Same name and namespace in other branches
  1. 8 apachesolr_search.module \apachesolr_search_theme()
  2. 6 apachesolr_search.module \apachesolr_search_theme()
  3. 6.2 apachesolr_search.module \apachesolr_search_theme()
  4. 7 apachesolr_search.module \apachesolr_search_theme()

Implements hook_theme().

File

./apachesolr_search.module, line 1771
Provides a content search implementation for node content for use with the Apache Solr search application.

Code

function apachesolr_search_theme() {
  return array(
    /**
     * Shows the facets in blocks in the search result area
     */
    'apachesolr_search_browse_blocks' => array(
      'render element' => 'content',
    ),
    /**
     * Shows the search snippet
     */
    'apachesolr_search_snippets' => array(
      'arguments' => array(
        'doc' => NULL,
        'snippets' => array(),
      ),
    ),
    /**
     * Shows a message when the search does not return any result
     */
    'apachesolr_search_noresults' => array(
      'arguments' => array(),
    ),
    /**
     * Shows a list of suggestions
     */
    'apachesolr_search_suggestions' => array(
      'arguments' => array(
        'links' => NULL,
      ),
    ),
    /**
     * Shows a list of results (docs) in content recommendation block
     */
    'apachesolr_search_mlt_recommendation_block' => array(
      'arguments' => array(
        'docs' => NULL,
        'delta' => NULL,
      ),
    ),
  );
}