1 locale_test.module locale_test_language_negotiation_info_alter(array &$language_providers)

Implements hook_language_negotiation_info_alter().

File

core/modules/locale/tests/locale_test/locale_test.module, line 86
Mock module for locale layer tests.

Code

function locale_test_language_negotiation_info_alter(array &$language_providers) {
  if (state_get('locale_test_language_negotiation_info_alter', FALSE)) {
    unset($language_providers[LANGUAGE_NEGOTIATION_INTERFACE]);
  }
}