function PluralTranslatableMarkupTest::providerPluralTranslatableMarkupSerialization
Same name in other branches
- 9 core/tests/Drupal/Tests/Core/StringTranslation/PluralTranslatableMarkupTest.php \Drupal\Tests\Core\StringTranslation\PluralTranslatableMarkupTest::providerPluralTranslatableMarkupSerialization()
- 8.9.x core/tests/Drupal/Tests/Core/StringTranslation/PluralTranslatableMarkupTest.php \Drupal\Tests\Core\StringTranslation\PluralTranslatableMarkupTest::providerPluralTranslatableMarkupSerialization()
- 10 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 39
Class
- PluralTranslatableMarkupTest
- Tests the TranslatableMarkup class.
Namespace
Drupal\Tests\Core\StringTranslationCode
public static function providerPluralTranslatableMarkupSerialization() {
return [
[
1,
'singular 1',
],
[
2,
'plural 2',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.