Checks if the language negotiation provider is enabled for any language type.
$provider_id: The language negotiation provider ID.
TRUE if there is at least one language type for which the given language provider is enabled, FALSE otherwise.
function language_negotiation_get_any($provider_id) {
foreach (language_types_configurable() as $type) {
if (language_negotiation_get($type, $provider_id)) {
return TRUE;
}
}
return FALSE;
}