public function PluralTranslatableMarkupTest::providerPluralTranslatableMarkupSerialization in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/StringTranslation/PluralTranslatableMarkupTest.php \Drupal\Tests\Core\StringTranslation\PluralTranslatableMarkupTest::providerPluralTranslatableMarkupSerialization()
- 9 core/tests/Drupal/Tests/Core/StringTranslation/PluralTranslatableMarkupTest.php \Drupal\Tests\Core\StringTranslation\PluralTranslatableMarkupTest::providerPluralTranslatableMarkupSerialization()
Data provider for ::testPluralTranslatableMarkupSerialization().
File
- core/
tests/ Drupal/ Tests/ Core/ StringTranslation/ PluralTranslatableMarkupTest.php, line 37
Class
- PluralTranslatableMarkupTest
- Tests the TranslatableMarkup class.
Namespace
Drupal\Tests\Core\StringTranslationCode
public function providerPluralTranslatableMarkupSerialization() {
return [
[
1,
'singular 1',
],
[
2,
'plural 2',
],
];
}