You are here

public function RouteCachingLanguageTest::providerLanguage in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/FunctionalTests/Routing/RouteCachingLanguageTest.php \Drupal\FunctionalTests\Routing\RouteCachingLanguageTest::providerLanguage()
  2. 9 core/tests/Drupal/FunctionalTests/Routing/RouteCachingLanguageTest.php \Drupal\FunctionalTests\Routing\RouteCachingLanguageTest::providerLanguage()

Data provider for testFromUri().

File

core/tests/Drupal/FunctionalTests/Routing/RouteCachingLanguageTest.php, line 195

Class

RouteCachingLanguageTest
Tests that route lookup is cached by the current language.

Namespace

Drupal\FunctionalTests\Routing

Code

public function providerLanguage() {
  return [
    [
      'en',
    ],
    [
      'fr',
    ],
  ];
}