function RouteCachingLanguageTest::providerLanguage

Same name in other branches
  1. 9 core/tests/Drupal/FunctionalTests/Routing/RouteCachingLanguageTest.php \Drupal\FunctionalTests\Routing\RouteCachingLanguageTest::providerLanguage()
  2. 8.9.x core/tests/Drupal/FunctionalTests/Routing/RouteCachingLanguageTest.php \Drupal\FunctionalTests\Routing\RouteCachingLanguageTest::providerLanguage()
  3. 10 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 193

Class

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

Namespace

Drupal\FunctionalTests\Routing

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.