You are here

public function MigrateDestinationUserRelationships::fields in Migrate Extras 6.2

Same name and namespace in other branches
  1. 7.2 user_relationships.inc \MigrateDestinationUserRelationships::fields()

Derived classes must implement fields(), returning a list of available destination fields.

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

./user_relationships.inc, line 79
Import User Relationships.

Class

MigrateDestinationUserRelationships
Destination class implementing migration into user_relationships table.

Code

public function fields() {
  return array(
    'rid' => 'Relationship ID',
    'requester_id' => '',
    'requestee_id' => '',
    'approved' => '',
    'created_at' => '',
    'updated_at' => '',
    'flags' => '',
    'op' => '',
  );
}