You are here

function biblio_field_language in Bibliography Module 7.2

Get the language code for a field instance

Parameters

string $field_name The machine name of the field/instance:

object $biblio:

Return value

string The language code ('en', 'und', etc...)

1 call to biblio_field_language()
biblio_page_edit in ./biblio.module
Presents the biblio editing form, or redirects to delete confirmation.

File

./biblio.module, line 3217

Code

function biblio_field_language($field_name, $biblio) {
  $field_languages = field_language('biblio', $biblio);
  return $field_languages[$field_name];
}