function 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',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.