You are here

function theme_facetapi_link_active in Facet API 6

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

Themes a facet link for a value that is currently being searched.

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.

Return value

A string containing the themed link.

See also

facetapi_l()

File

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

Code

function theme_facetapi_link_active($text, $path, array $options = array()) {
  return facetapi_l('(-) ' . $text, $path, $options);
}