You are here

function administration_language_negotiation_admin_language in Administration Language Negotiation 7

Language negotiation custom callback.

1 string reference to 'administration_language_negotiation_admin_language'
administration_language_negotiation_language_negotiation_info in ./administration_language_negotiation.module
Implements hook_language_negotiation_info().

File

./administration_language_negotiation.module, line 54
Main module page of administration language negotiation module.

Code

function administration_language_negotiation_admin_language() {
  require_once 'includes/path.inc';
  if (_administration_language_negotiation_admin_get_language(current_path())) {
    return variable_get('administration_language_negotiation_default', FALSE);
  }
  return FALSE;
}