1 field.multilingual.inc field_content_languages()

Returns available content languages.

The languages that may be associated to fields include LANGUAGE_NONE.

Return value

An array of language codes.:

Related topics

File

core/modules/field/field.multilingual.inc, line 170
Functions implementing Field API multilingual support.

Code

function field_content_languages() {
  return array_keys(language_list() + array(LANGUAGE_NONE => NULL));
}