function InstallTranslationFilePatternTest::providerInvalidTranslationFiles

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

Return value

array

File

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

Class

InstallTranslationFilePatternTest
Tests for installer language support.

Namespace

Drupal\Tests\system\Kernel\Installer

Code

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

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