You are here

public function LanguageTest::providerGetConfig in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/ckeditor/tests/src/Unit/Plugin/CKEditorPlugin/LanguageTest.php \Drupal\Tests\ckeditor\Unit\Plugin\CKEditorPlugin\LanguageTest::providerGetConfig()

Provides a list of configs to test.

File

core/modules/ckeditor/tests/src/Unit/Plugin/CKEditorPlugin/LanguageTest.php, line 33

Class

LanguageTest
@coversDefaultClass \Drupal\ckeditor\Plugin\CKEditorPlugin\Language

Namespace

Drupal\Tests\ckeditor\Unit\Plugin\CKEditorPlugin

Code

public function providerGetConfig() {
  return [
    [
      'un',
      count(LanguageManager::getUnitedNationsLanguageList()),
    ],
    [
      'all',
      count(LanguageManager::getStandardLanguageList()),
    ],
  ];
}