class MigrateNodeReferenceFieldHandler in Migrate 7.2
Same name and namespace in other branches
- 6.2 plugins/destinations/fields.inc \MigrateNodeReferenceFieldHandler
Hierarchy
- class \MigrateHandler
- class \MigrateFieldHandler
Expanded class hierarchy of MigrateNodeReferenceFieldHandler
1 string reference to 'MigrateNodeReferenceFieldHandler'
File
- plugins/
destinations/ fields.inc, line 920 - Support for processing entity fields
View source
class MigrateNodeReferenceFieldHandler extends MigrateSimpleFieldHandler {
public function __construct() {
parent::__construct(array(
'value_key' => 'nid',
'skip_empty' => TRUE,
));
$this
->registerTypes(array(
'node_reference',
));
}
protected function notNull($value) {
return !is_null($value) && $value !== FALSE;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
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 | |
MigrateNodeReferenceFieldHandler:: |
protected | function |
Returns TRUE only for values which are not NULL. Overrides MigrateSimpleFieldHandler:: |
|
MigrateNodeReferenceFieldHandler:: |
public | function |
Construct a simple field handler. Overrides MigrateSimpleFieldHandler:: |
|
MigrateSimpleFieldHandler:: |
protected | property | ||
MigrateSimpleFieldHandler:: |
protected | property | ||
MigrateSimpleFieldHandler:: |
public | function |