Skip navigation
Help

drupal_multilingual

7 bootstrap.inc drupal_multilingual()

Return true if there is more than one language enabled.

8 calls to drupal_multilingual()

File

drupal/includes/bootstrap.inc, line 2300
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;
}