function LocaleUILanguageNegotiationTest::getInfo
File
-
modules/
locale/ locale.test, line 2339
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',
);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.