1 locale_test.module locale_test_language_types_info_alter(array &$language_types)

Implements hook_language_types_info_alter().

File

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

Code

function locale_test_language_types_info_alter(array &$language_types) {
  if (state_get('locale_test_content_language_type', FALSE)) {
    unset($language_types[LANGUAGE_TYPE_CONTENT]['fixed']);
  }
}