function LocaleLanguageSwitchingFunctionalTest::testNewDisabledLanguage

Tests that languages can be added as disabled.

File

modules/locale/locale.test, line 1671

Class

LocaleLanguageSwitchingFunctionalTest
Functional tests for the language switching feature.

Code

function testNewDisabledLanguage() {
    // Add new language which will be disabled.
    locale_add_language('de', 'German', 'Deutsch', LANGUAGE_LTR, '', '', FALSE, FALSE);
}

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