You are here

public function InstallTranslationFilePatternTest::providerInvalidTranslationFiles 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::providerInvalidTranslationFiles()

Return value

array

File

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

Class

InstallTranslationFilePatternTest
Tests for installer language support.

Namespace

Drupal\Tests\system\Unit\Installer

Code

public function providerInvalidTranslationFiles() {
  return array(
    array(
      'hu',
      'drupal-alpha1-*-hu.po',
    ),
    array(
      'ta',
      'drupal-beta12.ta',
    ),
    array(
      'hi',
      'drupal-hi.po',
    ),
    array(
      'de',
      'drupal-dummy-de.po',
    ),
    array(
      'hu',
      'drupal-10.0.1.alpha1-hu.po',
    ),
  );
}