public function MigrateDestinationVotingapi::fields in Migrate Extras 7.2
Same name and namespace in other branches
- 6.2 votingapi.inc \MigrateDestinationVotingapi::fields()
Returns a list of fields available to be mapped/
Return value
array Keys: machine names of the fields (to be passed to addFieldMapping) Values: Human-friendly descriptions of the fields.
Overrides MigrateDestination::fields
File
- ./
votingapi.inc, line 117 - VotingAPI module integration
Class
- MigrateDestinationVotingapi
- Destination class for the votingapi_vote table.
Code
public function fields() {
return array(
'vote_id' => 'Vote ID',
'entity_type' => "Entity Type (defaults to 'node')",
'entity_id' => 'Entity ID',
'value' => 'Numeric vote value',
'value_type' => "Value type (percent/points, defaults to 'percent')",
'tag' => "Tag (defaults to 'vote')",
'uid' => 'User ID',
'timestamp' => 'Timestamp',
'vote_source' => 'Vote Source IP Address',
);
}