summaryrefslogtreecommitdiffstats
path: root/core/lib/Drupal/Core/Config/Entity/ConfigEntityType.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/lib/Drupal/Core/Config/Entity/ConfigEntityType.php')
-rw-r--r--core/lib/Drupal/Core/Config/Entity/ConfigEntityType.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/lib/Drupal/Core/Config/Entity/ConfigEntityType.php b/core/lib/Drupal/Core/Config/Entity/ConfigEntityType.php
index ef46168..3fe34f1 100644
--- a/core/lib/Drupal/Core/Config/Entity/ConfigEntityType.php
+++ b/core/lib/Drupal/Core/Config/Entity/ConfigEntityType.php
@@ -67,6 +67,7 @@ class ConfigEntityType extends EntityType {
parent::__construct($definition);
// Always add a default 'uuid' key.
$this->entity_keys['uuid'] = 'uuid';
+ $this->entity_keys['langcode'] = 'langcode';
$this->handlers += array(
'storage' => 'Drupal\Core\Config\Entity\ConfigEntityStorage',
);