On this page
function drupal_multilingual
drupal_multilingual()
Returns TRUE if there is more than one language enabled.
Return value
TRUE if more than one language is enabled.
File
- includes/bootstrap.inc, line 2977
- Functions that need to be loaded on every Drupal request.
Code
function drupal_multilingual() {
// The "language_count" variable stores the number of enabled languages to
// avoid unnecessarily querying the database when building the list of
// enabled languages on monolingual sites.
return variable_get('language_count', 1) > 1;
}
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!bootstrap.inc/function/drupal_multilingual/7.x