You are here

public function LocaleImportFunctionalTest::getEmptyPoFile in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php \Drupal\Tests\locale\Functional\LocaleImportFunctionalTest::getEmptyPoFile()
  2. 10 core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php \Drupal\Tests\locale\Functional\LocaleImportFunctionalTest::getEmptyPoFile()

Helper function that returns an empty .po file.

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

File

core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php, line 458

Class

LocaleImportFunctionalTest
Tests the import of locale files.

Namespace

Drupal\Tests\locale\Functional

Code

public function getEmptyPoFile() {
  return '';
}