We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 89d1088 + eb751c8 commit 1ed63ecCopy full SHA for 1ed63ec
1 file changed
src/Utility.php
@@ -203,6 +203,15 @@ public static function getSpecialPages() {
203
'/_quant403',
204
];
205
206
+ // Add translations of home page.
207
+ if (self::usesLanguagePathPrefixes()) {
208
+ if ($prefixes = \Drupal::config('language.negotiation')->get('url.prefixes')) {
209
+ foreach ($prefixes as $prefix) {
210
+ $pages[] = "/{$prefix}";
211
+ }
212
213
214
+
215
$validator = \Drupal::service('path.validator');
216
foreach ($pages as $index => $page) {
217
// Remove any pages that don't exist.
0 commit comments