public function SearchApiFacetapiAdapter::getPath in Search API 7
Returns the path to the admin settings for a given realm.
Parameters
$realm_name: The name of the realm.
Return value
The path to the admin settings.
File
- contrib/
search_api_facetapi/ plugins/ facetapi/ adapter.inc, line 38 - Classes used by the Facet API module.
Class
- SearchApiFacetapiAdapter
- Facet API adapter for the Search API module.
Code
public function getPath($realm_name) {
$base_path = 'admin/config/search/search_api';
$index_id = $this->info['instance'];
return $base_path . '/index/' . $index_id . '/facets/' . $realm_name;
}