function LocaleImportFunctionalTest::getEmptyPoFile

Helper function that returns a empty .po file.

1 call to LocaleImportFunctionalTest::getEmptyPoFile()
LocaleImportFunctionalTest::testStandalonePoFile in drupal/core/modules/locale/lib/Drupal/locale/Tests/LocaleImportFunctionalTest.php
Test import of standalone .po files.

File

drupal/core/modules/locale/lib/Drupal/locale/Tests/LocaleImportFunctionalTest.php, line 353
Definition of Drupal\locale\Tests\LocaleImportFunctionalTest.

Class

LocaleImportFunctionalTest
Functional tests for the import of translation files.

Namespace

Drupal\locale\Tests

Code

function getEmptyPoFile() {
  return '';
}