DateFormatterTest::LANGCODE

Same name and namespace in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Datetime/DateFormatterTest.php \Drupal\KernelTests\Core\Datetime\DateFormatterTest::LANGCODE
  2. 8.9.x core/tests/Drupal/KernelTests/Core/Datetime/DateFormatterTest.php \Drupal\KernelTests\Core\Datetime\DateFormatterTest::LANGCODE
  3. 10 core/tests/Drupal/KernelTests/Core/Datetime/DateFormatterTest.php \Drupal\KernelTests\Core\Datetime\DateFormatterTest::LANGCODE

Arbitrary langcode for a custom language.

File

core/tests/Drupal/KernelTests/Core/Datetime/DateFormatterTest.php, line 28

Class

DateFormatterTest
Tests date formatting.

Namespace

Drupal\KernelTests\Core\Datetime

Code

const LANGCODE = 'xx';

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