eZ\Publish\Core\SignalSlot\URLAliasService::listLocationAliases PHP Method

listLocationAliases() public method

List of url aliases pointing to $location, sorted by language priority.
public listLocationAliases ( eZ\Publish\API\Repository\Values\Content\Location $location, boolean $custom = true, string $languageCode = null, null | boolean $showAllTranslations = null, array $prioritizedLanguageList = null ) : eZ\Publish\API\Repository\Values\Content\URLAlias[]
$location eZ\Publish\API\Repository\Values\Content\Location
$custom boolean if true the user generated aliases are listed otherwise the autogenerated
$languageCode string filters those which are valid for the given language
$showAllTranslations null | boolean
$prioritizedLanguageList array
return eZ\Publish\API\Repository\Values\Content\URLAlias[]
    public function listLocationAliases(Location $location, $custom = true, $languageCode = null, $showAllTranslations = null, array $prioritizedLanguageList = null)
    {
        return $this->service->listLocationAliases($location, $custom, $languageCode, $showAllTranslations, $prioritizedLanguageList);
    }