drupal_multilingual

  1. drupal
    1. 7 bootstrap.inc function
Drupal 7 drupal_multilingual()

Returns TRUE if there is more than one language enabled.

10 calls to drupal_multilingual()

File

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