facetapi_pretty_paths_default_base_path_provider.inc in Facet API Pretty Paths 7
The default base path provider.
File
plugins/base_path_provider/facetapi_pretty_paths_default_base_path_provider.incView source
<?php
/**
* @file
* The default base path provider.
*/
/**
* Default FacetApiPrettyPathsBasePathProvider.
*/
class FacetApiPrettyPathsDefaultBasePathProvider implements FacetApiPrettyPathsBasePathProvider {
/**
* @param FacetapiUrlProcessorPrettyPaths $urlProcessor
* @return base path.
*/
public function getBasePath(FacetapiUrlProcessorPrettyPaths $urlProcessor) {
return $urlProcessor
->getPathWithoutSegments();
}
}
Classes
Name![]() |
Description |
---|---|
FacetApiPrettyPathsDefaultBasePathProvider | Default FacetApiPrettyPathsBasePathProvider. |