public static function LocaleUILanguageNegotiationTest::getInfo in Drupal 7
File
- modules/
locale/ locale.test, line 2309 - Tests for locale.module.
Class
- LocaleUILanguageNegotiationTest
- Test UI language negotiation 1. URL (PATH) > DEFAULT UI Language base on URL prefix, browser language preference has no influence: admin/config UI in site default language zh-hans/admin/config UI in Chinese blah-blah/admin/config 404 2. URL (PATH)…
Code
public static function getInfo() {
return array(
'name' => 'UI language negotiation',
'description' => 'Test UI language switching by URL path prefix and domain.',
'group' => 'Locale',
);
}