Skip to content

Commit

Permalink
Merge pull request #224 from jmolivas/generate-entity-content-fix
Browse files Browse the repository at this point in the history
Generate entity content fix
  • Loading branch information
jmolivas committed Oct 16, 2014
2 parents 0d866f2 + e24727e commit 8c1efa3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class {{ entity_class }}Form extends ContentEntityForm
$form['langcode'] = array(
'#title' => t('Language'),
'#type' => 'language_select',
'#default_value' => $entity->getUntranslated()->language()->id,
'#default_value' => $entity->getUntranslated()->language()->getId(),
'#languages' => Language::STATE_ALL,
);

Expand Down

0 comments on commit 8c1efa3

Please sign in to comment.