You are here

function i18n_test_locale in Internationalization 6

Implementation of hook_locale()

File

tests/i18n_test.module, line 32
Helper module for testing i18n

Code

function i18n_test_locale() {
  switch ($op) {
    case 'groups':
      return array(
        'test' => t('Test'),
      );
    case 'info':
      $info['test']['refresh callback'] = 'i18n_test_locale_refresh';
      $info['test']['format'] = FALSE;
      return $info;
  }
}