You are here

public function InstallTranslationFilePatternTest::providerValidTranslationFiles in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/tests/src/Unit/Installer/InstallTranslationFilePatternTest.php \Drupal\Tests\system\Unit\Installer\InstallTranslationFilePatternTest::providerValidTranslationFiles()

Return value

array

File

core/modules/system/tests/src/Unit/Installer/InstallTranslationFilePatternTest.php, line 52
Contains \Drupal\Tests\system\Unit\Installer\InstallTranslationFilePatternTest.

Class

InstallTranslationFilePatternTest
Tests for installer language support.

Namespace

Drupal\Tests\system\Unit\Installer

Code

public function providerValidTranslationFiles() {
  return array(
    array(
      'hu',
      'drupal-8.0.0-alpha1.hu.po',
    ),
    array(
      'ta',
      'drupal-8.10.10-beta12.ta.po',
    ),
    array(
      'hi',
      'drupal-8.0.0.hi.po',
    ),
  );
}