You are here

function locale_test_locale in Drupal 7

Implements hook_locale().

File

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

Code

function locale_test_locale($op = 'groups') {
  switch ($op) {
    case 'groups':
      return array(
        'custom' => t('Custom'),
      );
  }
}