public function MigrateItoggleFieldHandler::__construct in iToggle 7.2
Construct a simple field handler.
Parameters
$options: Array of options (rather than unamed parameters so you don't have to what TRUE or FALSE means). The following keys are used:
- 'value_key' string with the name of the key in the fields value array.
- 'skip_empty' Boolean indicating that empty values should not be saved.
Overrides MigrateSimpleFieldHandler::__construct
File
- modules/
field/ itoggle_field.migrate.inc, line 31 - Migrate integration for iToggle Field.
Class
- MigrateItoggleFieldHandler
- iToggle Field Migrate Field Handler Class
Code
public function __construct() {
parent::__construct(array(
'value_key' => 'value',
'skip_empty' => FALSE,
));
$this
->registerTypes(array(
'itoggle_field',
));
}