first import 1.0-rc5

Signed-off-by: bachy <git@g-u-i.net>
This commit is contained in:
bachy
2012-10-27 12:36:32 +02:00
commit a3196f9486
29 changed files with 3912 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
<?php
/**
* @file
* Support for processing entity reference fields in Migrate.
*/
/**
* Implement hook_migrate_api().
*/
function entityreference_migrate_api() {
return array('api' => 2);
}
class MigrateEntityReferenceFieldHandler extends MigrateSimpleFieldHandler {
public function __construct() {
parent::__construct(array(
'value_key' => 'target_id',
'skip_empty' => TRUE,
));
$this->registerTypes(array('entityreference'));
}
}