You are here

class FacetApiPrettyPathsDefaultBasePathProvider in Facet API Pretty Paths 7

Default FacetApiPrettyPathsBasePathProvider.

Hierarchy

Expanded class hierarchy of FacetApiPrettyPathsDefaultBasePathProvider

1 string reference to 'FacetApiPrettyPathsDefaultBasePathProvider'
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_default_base_path_provider.inc, line 11
The default base path provider.

View source
class FacetApiPrettyPathsDefaultBasePathProvider implements FacetApiPrettyPathsBasePathProvider {

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

}

Members