diff --git a/core/lib/Drupal/Core/Entity/EntityStorageBase.php b/core/lib/Drupal/Core/Entity/EntityStorageBase.php index 84a446a..2b2ddac 100644 --- a/core/lib/Drupal/Core/Entity/EntityStorageBase.php +++ b/core/lib/Drupal/Core/Entity/EntityStorageBase.php @@ -65,7 +65,7 @@ * * @var string */ - protected $languageKey; + protected $langcodeKey; /** * Constructs an EntityStorageBase instance. diff --git a/core/lib/Drupal/Core/Entity/EntityTypeInterface.php b/core/lib/Drupal/Core/Entity/EntityTypeInterface.php index 7a6a018..9ba3be6 100644 --- a/core/lib/Drupal/Core/Entity/EntityTypeInterface.php +++ b/core/lib/Drupal/Core/Entity/EntityTypeInterface.php @@ -103,12 +103,11 @@ public function getClass(); * entry can be omitted if this entity type exposes a single bundle (such * that all entities have the same collection of fields). The name of this * single bundle will be the same as the entity type. - * - label: (optional) The name of the property that contains the entity label. For - * example, if the entity's label is located in $entity->subject, then - * 'subject' should be specified here. If complex logic is required to - * build the label, a 'label_callback' should be defined instead (see the - * $label_callback block above for details). - + * - label: (optional) The name of the property that contains the entity + * label. For example, if the entity's label is located in + * $entity->subject, then 'subject' should be specified here. If complex + * logic is required to build the label, a 'label_callback' should be + * defined instead (see the $label_callback block above for details). */ public function getKeys();