You are here

public function MigrateDestinationUserRelationships::__toString in Migrate Extras 6.2

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

Derived classes must implement __toString().

Return value

string Description of the destination being migrated into

Overrides MigrateDestination::__toString

File

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

Class

MigrateDestinationUserRelationships
Destination class implementing migration into user_relationships table.

Code

public function __toString() {
  $reltype = user_relationships_type_load($this->rtid);
  return t('User relationship type: !type', array(
    '!type' => $reltype->name,
  ));
}