public function PluralTranslationTest::providerTestGet in Drupal 8
Same name and namespace in other branches
- 9 core/tests/Drupal/Tests/Core/Annotation/PluralTranslationTest.php \Drupal\Tests\Core\Annotation\PluralTranslationTest::providerTestGet()
- 10 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;
}