You are here

public function Drupali18nTestCase::getOtherLanguages in Internationalization 6

Same name and namespace in other branches
  1. 7 i18n.test \Drupali18nTestCase::getOtherLanguages()

Get all languages that are not default

2 calls to Drupali18nTestCase::getOtherLanguages()
i18n_Blocks_Test::i18nTranslateBlock in tests/i18n_blocks.test
Translate block fields to all languages
i18n_Blocks_Test::testBlockTranslation in tests/i18n_blocks.test

File

tests/drupal_i18n_test_case.php, line 203

Class

Drupali18nTestCase
Test case for typical Drupal tests.

Code

public function getOtherLanguages() {
  $languages = language_list();
  unset($languages[language_default('language')]);
  return $languages;
}