You are here

private function TrailingSlashUrlGenerator::fixFrontMultilingualUrl in Trailing Slash 8

Parameters

$url:

Return value

string

1 call to TrailingSlashUrlGenerator::fixFrontMultilingualUrl()
TrailingSlashUrlGenerator::generateFromRoute in src/Routing/TrailingSlashUrlGenerator.php
Generates a URL or path for a specific route based on the given parameters.

File

src/Routing/TrailingSlashUrlGenerator.php, line 87

Class

TrailingSlashUrlGenerator
Generates URLs from route names and parameters.

Namespace

Drupal\trailing_slash\Routing

Code

private function fixFrontMultilingualUrl($url) {
  TrailingSlashHelper::add($url);
  return $url;
}