public function PluralTranslationTest::providerTestGet in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Annotation/PluralTranslationTest.php \Drupal\Tests\Core\Annotation\PluralTranslationTest::providerTestGet()
- 9 core/tests/Drupal/Tests/Core/Annotation/PluralTranslationTest.php \Drupal\Tests\Core\Annotation\PluralTranslationTest::providerTestGet()
Provides data to self::testGet().
File
- core/
tests/ Drupal/ Tests/ Core/ Annotation/ PluralTranslationTest.php, line 31
Class
- PluralTranslationTest
- @coversDefaultClass \Drupal\Core\Annotation\PluralTranslation @group Annotation
Namespace
Drupal\Tests\Core\AnnotationCode
public function providerTestGet() {
$data = [];
$data[] = [
[
'singular' => $this
->randomMachineName(),
'plural' => $this
->randomMachineName(),
'context' => $this
->randomMachineName(),
],
];
$data[] = [
[
'singular' => $this
->randomMachineName(),
'plural' => $this
->randomMachineName(),
],
];
return $data;
}