summaryrefslogtreecommitdiffstats
path: root/core/lib/Drupal/Core/Entity/EntityType.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/lib/Drupal/Core/Entity/EntityType.php')
-rw-r--r--core/lib/Drupal/Core/Entity/EntityType.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/lib/Drupal/Core/Entity/EntityType.php b/core/lib/Drupal/Core/Entity/EntityType.php
index faf8856..c5d90ca 100644
--- a/core/lib/Drupal/Core/Entity/EntityType.php
+++ b/core/lib/Drupal/Core/Entity/EntityType.php
@@ -236,7 +236,8 @@ class EntityType implements EntityTypeInterface {
// Ensure defaults.
$this->entity_keys += array(
'revision' => '',
- 'bundle' => ''
+ 'bundle' => '',
+ 'langcode' => '',
);
$this->handlers += array(
'access' => 'Drupal\Core\Entity\EntityAccessControlHandler',