You are here

public function Drupali18nTestCase::getOtherLanguages in Internationalization 7

Same name and namespace in other branches
  1. 6 tests/drupal_i18n_test_case.php \Drupali18nTestCase::getOtherLanguages()

Get all languages that are not default

3 calls to Drupali18nTestCase::getOtherLanguages()
Drupali18nTestCase::createStringTranslation in ./i18n.test
Create translation for string in textgroup
i18nBlocksTestCase::testBlockTranslation in i18n_block/i18n_block.test
i18nStringTestCase::testStringsAPI in i18n_string/i18n_string.test
Test base i18n_string API

File

./i18n.test, line 291
Base class for Internationalization tests

Class

Drupali18nTestCase
@file Base class for Internationalization tests

Code

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