drupal_multilingual

7 bootstrap.inc drupal_multilingual()

Returns TRUE if there is more than one language enabled.

8 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;
}
Login or register to post comments