Skip to content

Commit

Permalink
Merge pull request #24 from bugfolder/23_add_langcode
Browse files Browse the repository at this point in the history
Issue #23: Add $langcode in Profile class.
  • Loading branch information
bugfolder authored Jun 13, 2023
2 parents cce1b1b + 43e3a94 commit b9ea61c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions profile.entity.inc
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,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'])) {
Expand Down

0 comments on commit b9ea61c

Please sign in to comment.