You are here

public function WebformLocalizationWebTestCase::getOtherLanguages in Webform Localization 7

Same name and namespace in other branches
  1. 7.4 tests/webform_localization.test \WebformLocalizationWebTestCase::getOtherLanguages()

Get all languages that are not default

File

tests/webform_localization.test, line 318
Webform localization module tests.

Class

WebformLocalizationWebTestCase
@file Webform localization module tests.

Code

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