function LocaleImportFunctionalTest::getEmptyPoFile

Same name in other branches
  1. 8.9.x 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()
  3. 11.x 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 457

Class

LocaleImportFunctionalTest
Tests the import of locale files.

Namespace

Drupal\Tests\locale\Functional

Code

public function getEmptyPoFile() {
    return '';
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.