public function HiddenLanguageBaseTestCase::hideLanguage in Hidden Language 7
Hide language with specified language code.
Parameters
$langcode: Code of language to hide.
1 call to HiddenLanguageBaseTestCase::hideLanguage()
File
- ./
hidden_language.test, line 155 - Tests for Hidden Language module.
Class
- HiddenLanguageBaseTestCase
- Base class for Hidden Language module tests.
Code
public function hideLanguage($langcode) {
$edit = array(
"hidden[{$langcode}]" => TRUE,
);
$this
->drupalPost('admin/config/regional/language', $edit, t('Save configuration'));
}