You are here

MigrateBlockReferenceFieldHandler.inc in Block reference 7.2

Same filename and directory in other branches
  1. 7 MigrateBlockReferenceFieldHandler.inc

Support for processing blockreference fields in Migrate.

File

MigrateBlockReferenceFieldHandler.inc
View source
<?php

/**
 * @file
 * Support for processing blockreference fields in Migrate.
 */
class MigrateBlockReferenceFieldHandler extends MigrateSimpleFieldHandler {
  public function __construct($options = array()) {
    parent::__construct(array(
      'value_key' => 'moddelta',
      'skip_empty' => TRUE,
    ));
    $this
      ->registerTypes(array(
      'blockreference',
    ));
  }

}

Classes

Namesort descending Description
MigrateBlockReferenceFieldHandler @file Support for processing blockreference fields in Migrate.