protected getUrlAlias ( string $pathinfo ) : eZ\Publish\API\Repository\Values\Content\URLAlias | ||
$pathinfo | string | |
리턴 | eZ\Publish\API\Repository\Values\Content\URLAlias |
protected function getUrlAlias($pathinfo)
{
$pathPrefix = $this->generator->getPathPrefixByRootLocationId($this->rootLocationId);
if ($this->rootLocationId === null || $this->generator->isUriPrefixExcluded($pathinfo) || $pathPrefix === '/') {
return parent::getUrlAlias($pathinfo);
}
return $this->urlAliasService->lookup($pathPrefix . $pathinfo);
}