Search for language

  1. Search 9.5.x for language
  2. Search 8.9.x for language
  3. Search 10.3.x for language
  4. Search 11.x for language
  5. Other projects
Title Object type File name Summary
$language global external_documentation/developer/globals.php An object containing the information for the active interface language.
$language_content global external_documentation/developer/globals.php An object containing the information for the active content language.
$language_url global external_documentation/developer/globals.php An object containing the information for the active URL language.
callback_entity_info_language function modules/system/system.api.php Return the language code of the entity.
DrupalTestCase::$originalLanguage property modules/simpletest/drupal_web_test_case.php The original language.
DrupalTestCase::$originalLanguageDefault property modules/simpletest/drupal_web_test_case.php The original default language.
DrupalWebTestCase::$originalLanguageUrl property modules/simpletest/drupal_web_test_case.php The original language URL.
DRUPAL_BOOTSTRAP_LANGUAGE constant includes/bootstrap.inc Seventh bootstrap phase: find out language of the page.
drupal_language_initialize function includes/bootstrap.inc Initializes all the defined language types.
drupal_language_types function includes/bootstrap.inc Returns a list of the built-in language types.
EntityFieldQuery::fieldLanguageCondition function includes/entity.inc Adds a condition on the field language column.
entity_language function includes/common.inc Returns the language of an entity.
Field Language API group modules/field/field.multilingual.inc Handling of multilingual fields.
FieldSqlStorageTestCase::testFieldSqlStorageMultipleConditionsDifferentColumnsMultipleLanguages function modules/field/modules/field_sql_storage/field_sql_storage.test Test handling multiple conditions on multiple columns of one field for multiple languages.
FieldTranslationsTestCase::testFieldAvailableLanguages function modules/field/tests/field.test Ensures that only valid values are returned by field_available_languages().
FieldTranslationsTestCase::testFieldDisplayLanguage function modules/field/tests/field.test Tests display language logic for translatable fields.
field_available_languages function modules/field/field.multilingual.inc Collects the available languages for the given entity type and field.
field_content_languages function modules/field/field.multilingual.inc Returns available content languages.
field_language function modules/field/field.multilingual.inc Returns the display language for the fields attached to the given entity.
field_test_field_available_languages_alter function modules/field/tests/field_test.module Implements hook_field_available_languages_alter().
field_test_field_language_alter function modules/field/tests/field_test.module Implements hook_field_language_alter().
field_valid_language function modules/field/field.multilingual.inc Ensures that a given language code is valid.
hook_field_available_languages_alter function modules/field/field.api.php Alter field_available_languages() values.
hook_field_language_alter function modules/field/field.api.php Perform alterations on field_language() values.
hook_language_fallback_candidates_alter function modules/system/language.api.php Perform alterations on the language fallback candidates.
hook_language_init function modules/system/language.api.php Allows modules to act after language initialization has been performed.
hook_language_negotiation_info function modules/system/language.api.php Define language negotiation providers.
hook_language_negotiation_info_alter function modules/system/language.api.php Perform alterations on language negoiation providers.
hook_language_switch_links_alter function modules/system/language.api.php Perform alterations on language switcher links.
hook_language_types_info function modules/system/language.api.php Define language types.
hook_language_types_info_alter function modules/system/language.api.php Perform alterations on language types.
Language addition API group includes/locale.inc Add a language.
Language administration interface group modules/locale/locale.admin.inc Administration interface for languages.
Language Negotiation API functionality group includes/language.inc Functions to customize the language types and the negotiation process.
Language negotiation options group includes/locale.inc Functions for language negotiation.
language.api.php file modules/system/language.api.php Hooks provided by the base system for language support.
language.inc file includes/language.inc Language Negotiation API.
language_default function includes/bootstrap.inc Returns the default language, as an object, or one of its properties.
language_fallback_get_candidates function includes/language.inc Returns the possible fallback languages ordered by language weight.
language_from_default function includes/language.inc Returns the default language negotiation provider.
language_initialize function includes/language.inc Chooses a language based on language negotiation provider settings.
language_list function includes/bootstrap.inc Returns a list of installed languages, indexed by the specified key.
LANGUAGE_LTR constant includes/bootstrap.inc Language written left to right. Possible value of $language->direction.
LANGUAGE_NEGOTIATION_DEFAULT constant includes/language.inc No language negotiation. The default language is used.
language_negotiation_get function includes/language.inc Checks whether a language negotiation provider is enabled for a language type.
language_negotiation_get_any function includes/language.inc Checks if the language negotiation provider is enabled for any language type.
language_negotiation_get_switch_links function includes/language.inc Returns the language switch links for the given language.
language_negotiation_info function includes/language.inc Returns all the defined language negotiation providers.
language_negotiation_purge function includes/language.inc Removes any unused language negotiation providers from the configuration.
language_negotiation_set function includes/language.inc Saves a list of language negotiation providers.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.