From 43e3a9454df4d29c1b1bff99b72c0bd296bd3673 Mon Sep 17 00:00:00 2001 From: "Robert J. Lang" Date: Tue, 13 Jun 2023 09:50:57 -0700 Subject: [PATCH] Issue #23: Add $langcode in Profile class. --- profile.entity.inc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/profile.entity.inc b/profile.entity.inc index 8e99bba..7657e16 100644 --- a/profile.entity.inc +++ b/profile.entity.inc @@ -52,6 +52,12 @@ class Profile extends Entity { */ public $changed; + /** + * The language under which the profile item is stored. + * + * @var string + */ + public $langcode = LANGUAGE_NONE; public function __construct(array $values = array()) { if (isset($values['user'])) {