You are here

function apachesolr_theme in Apache Solr Search 7

Same name and namespace in other branches
  1. 8 apachesolr.module \apachesolr_theme()
  2. 6.3 apachesolr.module \apachesolr_theme()
  3. 6 apachesolr.module \apachesolr_theme()
  4. 6.2 apachesolr.module \apachesolr_theme()

Implements hook_theme().

File

./apachesolr.module, line 2505
Integration with the Apache Solr search application.

Code

function apachesolr_theme() {
  return array(
    /**
     * Returns a list of links generated by apachesolr_sort_link
     */
    'apachesolr_sort_list' => array(
      'variables' => array(
        'items' => NULL,
      ),
    ),
    /**
     * Returns a link which can be used to search the results.
     */
    'apachesolr_sort_link' => array(
      'variables' => array(
        'text' => NULL,
        'path' => NULL,
        'options' => NULL,
        'active' => FALSE,
        'direction' => '',
      ),
    ),
    /**
     * Themes the title links in admin settings pages.
     */
    'apachesolr_settings_title' => array(
      'variables' => array(
        'env_id' => NULL,
      ),
    ),
  );
}