function PluralTranslationTest::providerTestGet
Provides data to self::testGet().
File
-
core/
tests/ Drupal/ Tests/ Core/ Annotation/ PluralTranslationTest.php, line 39
Class
Namespace
Drupal\Tests\Core\AnnotationCode
public static function providerTestGet() {
$data = [];
$data[] = [
[
'singular' => Random::machineName(),
'plural' => Random::machineName(),
'context' => Random::machineName(),
],
];
$data[] = [
[
'singular' => Random::machineName(),
'plural' => Random::machineName(),
],
];
return $data;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.