function theme_facetapi_link_inactive in Facet API 6
Same name and namespace in other branches
- 6.3 facetapi.theme.inc \theme_facetapi_link_inactive()
- 7.2 facetapi.theme.inc \theme_facetapi_link_inactive()
- 7 facetapi.theme.inc \theme_facetapi_link_inactive()
Themes a facet link with an optional count.
Parameters
$text: A string containing the facet title.
$path: A string containing the Drupal path being linked to, usually $_GET['q'].
$options: An associative array of additional options.
$count: An optional integer containing the count of the facet item.
Return value
A string containing the themed link.
See also
File
- ./
facetapi.theme.inc, line 85 - Theme functions for the Facet API module.
Code
function theme_facetapi_link_inactive($text, $path, array $options = array(), $count = 0) {
if ($count) {
$text .= ' ' . theme('facetapi_count', $count);
}
return facetapi_l($text, $path, $options);
}