function theme_facetapi_count in Facet API 7
Same name and namespace in other branches
- 6.3 facetapi.theme.inc \theme_facetapi_count()
- 6 facetapi.theme.inc \theme_facetapi_count()
- 7.2 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 90 - Theme functions for the Facet API module.
Code
function theme_facetapi_count($variables) {
return '(' . (int) $variables['count'] . ')';
}