Remove LanguageNegotiationUrl's usage of base_path()

Created on 2 May 2015, over 9 years ago
Updated 4 August 2024, 5 months ago

From #2335661-114: Outbound path & route processors must specify cacheability metadata .8:

+++ b/core/modules/language/tests/src/Unit/LanguageNegotiationUrlTest.php
@@ -154,3 +275,13 @@ public function providerTestDomain() {
+namespace {
+  if (!function_exists('base_path')) {
+    function base_path() {
+      return '/';
+    }
+  }
+}

Do you mind opening up a follow up to replace that usage of base_path()? It would be ne of the last ones ...

📌 Task
Status

Closed: duplicate

Version

11.0 🔥

Component
Language system 

Last updated 1 day ago

  • Maintained by
  • 🇩🇪Germany @sun
Created by

🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024