You are here

function theme_facetapi_title in Facet API 7

Same name and namespace in other branches
  1. 6.3 facetapi.theme.inc \theme_facetapi_title()
  2. 6 facetapi.theme.inc \theme_facetapi_title()
  3. 7.2 facetapi.theme.inc \theme_facetapi_title()

Returns HTML for the facet title, usually the title of the block.

Parameters

$variables: An associative array containing:

  • title: The title of the facet.
  • facet: The facet definition as returned by facetapi_facet_load().
1 theme call to theme_facetapi_title()
facetapi_block_view in ./facetapi.block.inc
Implements hook_block_view().

File

./facetapi.theme.inc, line 31
Theme functions for the Facet API module.

Code

function theme_facetapi_title($variables) {
  return t('Filter by @title:', array(
    '@title' => drupal_strtolower($variables['title']),
  ));
}