class FieldHiddenMigrateFieldHandler in Field Hidden 7
Registers field hidden field types as ordinary 'value' based field types, because that suffices.
Hierarchy
- class \MigrateHandler
- class \MigrateFieldHandler
- class \MigrateSimpleFieldHandler
- class \MigrateFieldHandler
Expanded class hierarchy of FieldHiddenMigrateFieldHandler
File
- field_hidden_migrate/
field_hidden.migrate.inc, line 10 - Drupal Field Hidden module Migration integration
View source
class FieldHiddenMigrateFieldHandler extends MigrateSimpleFieldHandler {
public function __construct() {
parent::__construct(array(
'value_key' => 'value',
'skip_empty' => FALSE,
));
$this
->registerTypes(array(
'field_hidden_text',
'field_hidden_text_long',
'field_hidden_integer',
'field_hidden_decimal',
'field_hidden_float',
));
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FieldHiddenMigrateFieldHandler:: |
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 |