field_available_languages($entity_type, $field)
Parameters
$entity_type: The type of the entity the field is attached to, e.g. ‘node’ or ‘user’.

$field: A field structure.(fieldname)
Return value
An array of valid language codes.

Advertisements