function field_content_languages
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
- modules/field/field.multilingual.inc, line 157
- Functions implementing Field API multilingual support.
Code
function field_content_languages() { return array_keys(language_list() + array(LANGUAGE_NONE => NULL)); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!field!field.multilingual.inc/function/field_content_languages/7.x