MigrateBlockReferenceFieldHandler.inc in Block reference 7
Same filename and directory in other branches
Support for processing blockreference fields in Migrate.
File
MigrateBlockReferenceFieldHandler.incView source
<?php
/**
* @file
* Support for processing blockreference fields in Migrate.
*/
class MigrateBlockReferenceFieldHandler extends MigrateSimpleFieldHandler {
public function __construct($options = array()) {
parent::__construct(array(
'value_key' => 'bid',
'skip_empty' => TRUE,
));
$this
->registerTypes(array(
'blockreference',
));
}
}
Classes
Name | Description |
---|---|
MigrateBlockReferenceFieldHandler | @file Support for processing blockreference fields in Migrate. |