function LocaleLookupTest::getCidProvider
Same name and namespace in other branches
- 9 core/modules/locale/tests/src/Unit/LocaleLookupTest.php \Drupal\Tests\locale\Unit\LocaleLookupTest::getCidProvider()
- 10 core/modules/locale/tests/src/Unit/LocaleLookupTest.php \Drupal\Tests\locale\Unit\LocaleLookupTest::getCidProvider()
Provides test data for testGetCid().
File
-
core/
modules/ locale/ tests/ src/ Unit/ LocaleLookupTest.php, line 376
Class
- LocaleLookupTest
- @coversDefaultClass <a href="/api/drupal/core%21modules%21locale%21src%21LocaleLookup.php/class/LocaleLookup/11.x" title="A cache collector to allow for dynamic building of the locale cache." class="local">\Drupal\locale\LocaleLookup</a> @group locale
Namespace
Drupal\Tests\locale\UnitCode
public static function getCidProvider() {
return [
[
[
'a',
],
'locale:en:irrelevant:a',
],
[
[
'a',
'b',
],
'locale:en:irrelevant:a:b',
],
[
[
'b',
'a',
],
'locale:en:irrelevant:a:b',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.