public function LocaleValidatorTest::getValidLocales

File

drupal/core/vendor/symfony/validator/Symfony/Component/Validator/Tests/Constraints/LocaleValidatorTest.php, line 73

Class

LocaleValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function getValidLocales() {
  return array(
    array(
      'en',
    ),
    array(
      'en_US',
    ),
    array(
      'pt',
    ),
    array(
      'pt_PT',
    ),
    array(
      'zh_Hans',
    ),
  );
}