function InstallTranslationFilePatternTest::providerValidTranslationFiles

Same name in other branches
  1. 9 core/modules/system/tests/src/Kernel/Installer/InstallTranslationFilePatternTest.php \Drupal\Tests\system\Kernel\Installer\InstallTranslationFilePatternTest::providerValidTranslationFiles()
  2. 8.9.x core/modules/system/tests/src/Kernel/Installer/InstallTranslationFilePatternTest.php \Drupal\Tests\system\Kernel\Installer\InstallTranslationFilePatternTest::providerValidTranslationFiles()
  3. 11.x core/modules/system/tests/src/Kernel/Installer/InstallTranslationFilePatternTest.php \Drupal\Tests\system\Kernel\Installer\InstallTranslationFilePatternTest::providerValidTranslationFiles()

Return value

array

File

core/modules/system/tests/src/Kernel/Installer/InstallTranslationFilePatternTest.php, line 53

Class

InstallTranslationFilePatternTest
Tests for installer language support.

Namespace

Drupal\Tests\system\Kernel\Installer

Code

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

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