public function LocaleLookupTest::getCidProvider in Drupal 9
Provides test data for testGetCid().
File
- core/
modules/ locale/ tests/ src/ Unit/ LocaleLookupTest.php, line 373
Class
- LocaleLookupTest
- @coversDefaultClass \Drupal\locale\LocaleLookup @group locale
Namespace
Drupal\Tests\locale\UnitCode
public function getCidProvider() {
return [
[
[
'a',
],
'locale:en:irrelevant:a',
],
[
[
'a',
'b',
],
'locale:en:irrelevant:a:b',
],
[
[
'b',
'a',
],
'locale:en:irrelevant:a:b',
],
];
}