You are here

public function FacetapiAdapter::getPath in Facet API 7

Same name and namespace in other branches
  1. 6.3 plugins/facetapi/adapter.inc \FacetapiAdapter::getPath()
  2. 7.2 plugins/facetapi/adapter.inc \FacetapiAdapter::getPath()

Returns the path to the the realm's admin settings page.

@todo This method is too nondescript. It cannot be changed since it is used heavily by implementing modules, but it should be deprecated in favor of a method with a more descript name.

Parameters

string $realm_name: The machine readable name of the realm.

Return value

The path to the admin settings.

File

plugins/facetapi/adapter.inc, line 503
Adapter plugin and adapter related classes.

Class

FacetapiAdapter
Abstract class extended by Facet API adapters.

Code

public function getPath($realm_name) {
  return $this->info['path'] . '/facets/' . $realm_name;
}