class MigrateBlockReferenceFieldHandler in Block reference 7
Same name and namespace in other branches
- 7.2 MigrateBlockReferenceFieldHandler.inc \MigrateBlockReferenceFieldHandler
@file Support for processing blockreference fields in Migrate.
Hierarchy
- class \MigrateHandler
- class \MigrateFieldHandler
Expanded class hierarchy of MigrateBlockReferenceFieldHandler
1 string reference to 'MigrateBlockReferenceFieldHandler'
- blockreference_migrate_api in ./
blockreference.module - Implements hook_migrate_api().
File
- ./
MigrateBlockReferenceFieldHandler.inc, line 8 - Support for processing blockreference fields in Migrate.
View source
class MigrateBlockReferenceFieldHandler extends MigrateSimpleFieldHandler {
public function __construct($options = array()) {
parent::__construct(array(
'value_key' => 'bid',
'skip_empty' => TRUE,
));
$this
->registerTypes(array(
'blockreference',
));
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MigrateBlockReferenceFieldHandler:: |
public | function |
Construct a simple field handler. Overrides MigrateSimpleFieldHandler:: |
|
MigrateFieldHandler:: |
function | Determine the language of the field. | ||
MigrateHandler:: |
protected | property | List of other handler classes which should be invoked before the current one. | |
MigrateHandler:: |
protected | property | List of "types" handled by this handler. Depending on the kind of handler, these may be destination types, field types, etc. | |
MigrateHandler:: |
public | function | ||
MigrateHandler:: |
public | function | ||
MigrateHandler:: |
public | function | Does this handler handle the given type? | 1 |
MigrateHandler:: |
protected | function | Register a list of types handled by this class | |
MigrateSimpleFieldHandler:: |
protected | property | ||
MigrateSimpleFieldHandler:: |
protected | property | ||
MigrateSimpleFieldHandler:: |
protected | function | Returns TRUE only for values which are not NULL. | 2 |
MigrateSimpleFieldHandler:: |
public | function |