You are here

public function LocaleImportFunctionalTest::getEmptyPoFile in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/locale/src/Tests/LocaleImportFunctionalTest.php \Drupal\locale\Tests\LocaleImportFunctionalTest::getEmptyPoFile()

Helper function that returns a empty .po file.

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

File

core/modules/locale/src/Tests/LocaleImportFunctionalTest.php, line 428
Contains \Drupal\locale\Tests\LocaleImportFunctionalTest.

Class

LocaleImportFunctionalTest
Tests the import of locale files.

Namespace

Drupal\locale\Tests

Code

public function getEmptyPoFile() {
  return '';
}