EntityBaseTest::$langcode

Same name in other branches
  1. 10 core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php \Drupal\Tests\Core\Entity\EntityBaseTest::langcode
  2. 10 core/tests/Drupal/Tests/Core/Entity/KeyValueStore/KeyValueEntityStorageTest.php \Drupal\Tests\Core\Entity\KeyValueStore\EntityBaseTest::langcode

The language code for the entity.

Type: string

File

core/tests/Drupal/Tests/Core/Entity/KeyValueStore/KeyValueEntityStorageTest.php, line 658

Class

EntityBaseTest
A simple entity class for testing key value entity storage.

Namespace

Drupal\Tests\Core\Entity\KeyValueStore

Code

public $langcode;

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