1 locale_test.module locale_test_language_types_info()

Implements hook_language_types_info().

File

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

Code

function locale_test_language_types_info() {
  if (state_get('locale_test_language_types', FALSE)) {
    return array(
      'test_language_type' => array(
        'name' => t('Test'),
        'description' => t('A test language type.'),
      ),
      'fixed_test_language_type' => array(
        'fixed' => array('test_language_provider'),
      ),
    );
  }
}