You are here

function theme_facetapi_count in Facet API 6.3

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

Returns HTML for the active facet item's count.

Parameters

$variables: An associative array containing:

  • count: The item's facet count.
1 theme call to theme_facetapi_count()
theme_facetapi_link_inactive in ./facetapi.theme.inc
Returns HTML for an inactive facet item.

File

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

Code

function theme_facetapi_count($variables) {
  return '(' . (int) $variables['count'] . ')';
}