Perform alterations on language negotiation methods.
$negotiation_info: Array of language negotiation method definitions.
hook_language_negotiation_info()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
function hook_language_negotiation_info_alter(array &$negotiation_info) {
if (isset($negotiation_info['custom_language_method'])) {
$negotiation_info['custom_language_method']['config'] = 'admin/config/regional/language/detection/custom-language-method';
}
}