function locale_test_language_types_info

Implements hook_language_types_info().

File

modules/locale/tests/locale_test.module, line 43

Code

function locale_test_language_types_info() {
    if (variable_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',
                ),
            ),
        );
    }
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.