DateFormatterTest::LANGCODE

Same name in other branches
  1. 8.9.x core/tests/Drupal/KernelTests/Core/Datetime/DateFormatterTest.php \Drupal\KernelTests\Core\Datetime\DateFormatterTest::LANGCODE
  2. 10 core/tests/Drupal/KernelTests/Core/Datetime/DateFormatterTest.php \Drupal\KernelTests\Core\Datetime\DateFormatterTest::LANGCODE
  3. 11.x 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 24

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.