Returns the ID of the language type's first language negotiation method.
$type: The language type.
The identifier of the first language negotiation method for the given language type, or the default method if none exists.
function language_negotiation_method_get_first($type) {
$negotiation = variable_get("language_negotiation_{$type}", array());
return empty($negotiation) ? LANGUAGE_NEGOTIATION_SELECTED : key($negotiation);
}