Commit 70aafbab authored by David_Rothstein's avatar David_Rothstein

Issue #2622012 by walangitan, snehi, Shreya Shetty, rashid_786, joachim,...

Issue #2622012 by walangitan, snehi, Shreya Shetty, rashid_786, joachim, jhodgdon: Fix documentation errors in language_default()
parent e6e00e84
......@@ -2786,10 +2786,14 @@ function language_list($field = 'language') {
}
/**
* Returns the default language used on the site
* Returns the default language, as an object, or one of its properties.
*
* @param $property
* Optional property of the language object to return
* (optional) The property of the language object to return.
*
* @return
* Either the language object for the default language used on the site,
* or the property of that object named in the $property parameter.
*/
function language_default($property = NULL) {
$language = variable_get('language_default', (object) array('language' => 'en', 'name' => 'English', 'native' => 'English', 'direction' => 0, 'enabled' => 1, 'plurals' => 0, 'formula' => '', 'domain' => '', 'prefix' => '', 'weight' => 0, 'javascript' => ''));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment