You are here

class FacetApiPrettyPathsAdapterBasePathProvider in Facet API Pretty Paths 7

Facet API Adapter based FacetApiPrettyPathsBasePathProvider.

Hierarchy

Expanded class hierarchy of FacetApiPrettyPathsAdapterBasePathProvider

1 string reference to 'FacetApiPrettyPathsAdapterBasePathProvider'
facetapi_pretty_paths_facetapi_pretty_paths_base_path_provider in ./facetapi_pretty_paths.module
Implements hook_facetapi_pretty_paths_base_path_provider().

File

plugins/base_path_provider/facetapi_pretty_paths_adapter_base_path_provider.inc, line 11
A Facet API Adapter based base path provider.

View source
class FacetApiPrettyPathsAdapterBasePathProvider implements FacetApiPrettyPathsBasePathProvider {

  /**
   * @param FacetapiUrlProcessorPrettyPaths $urlProcessor
   * @return base path.
   */
  public function getBasePath(FacetapiUrlProcessorPrettyPaths $urlProcessor) {
    return $urlProcessor
      ->getAdapter()
      ->getSearchPath();
  }

}

Members