Skip to content
This repository has been archived by the owner on May 4, 2020. It is now read-only.

Commit

Permalink
Merge pull request #15 from Ymbra/rodrigoaguilera-patch-1
Browse files Browse the repository at this point in the history
Create a proper stub for the body value
  • Loading branch information
rodrigoaguilera committed Mar 25, 2015
2 parents 3ae41ba + d401743 commit ab52eeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/migrate_default_content_stub.migrate.entity.inc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class defaultEntityWithStub extends defaultEntity {
protected function createStub(Migration $migration, array $source_id) {
$node = new stdClass();
$node->title = t('Stub for @id', array('@id' => $source_id[0]));
$node->body[LANGUAGE_NONE][0] = t('Stub body');
$node->body[LANGUAGE_NONE][0]['value'] = t('Stub body');
$node->type = $this->destination->getBundle();
$node->uid = 1;
$node->status = 0;
Expand Down

0 comments on commit ab52eeb

Please sign in to comment.