modules/custom/deims_d6_migration/migration/DeimsContentPageMigration.php
<?php
/**
* @file
* Definition of DeimsContentPageMigration.
*/
class DeimsContentPageMigration extends DrupalNode6Migration {
protected $dependencies = array();
public function __construct(array $arguments) {
$arguments += array(
'description' => '',
'source_connection' => 'drupal6',
'source_version' => 6,
'source_type' => 'page',
'destination_type' => 'page',
'user_migration' => 'DeimsUser',
);
parent::__construct($arguments);
}
public function prepareRow($row) {
parent::prepareRow($row);
}
public function prepare($node, $row) {
// Remove any empty or illegal delta field values.
EntityHelper::removeInvalidFieldDeltas('node', $node);
EntityHelper::removeEmptyFieldValues('node', $node);
}
}