function drupal_multilingual

cis7 bootstrap.inc drupal_multilingual()
cle7 bootstrap.inc drupal_multilingual()
elmsmedia7 bootstrap.inc drupal_multilingual()
icor7 bootstrap.inc drupal_multilingual()
meedjum_blog7 bootstrap.inc drupal_multilingual()
mooc7 bootstrap.inc drupal_multilingual()

Returns TRUE if there is more than one language enabled.

Return value

TRUE if more than one language is enabled.

9 calls to drupal_multilingual()
boost_parse_url in sites/all/modules/ulmus/boost/boost.module
parse_url that takes into account the base_path
ckeditor_link_get_languages in sites/all/modules/ulmus/ckeditor_link/ckeditor_link.module
drupal_language_initialize in includes/bootstrap.inc
Initializes all the defined language types.
drupal_render_cid_parts in includes/common.inc
Returns cache ID parts for building a cache ID.
language_list in includes/bootstrap.inc
Returns a list of installed languages, indexed by the specified key.

... See full list

File

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