You are here

public function MigrateDestinationWebformSubmission::__toString in Migrate Extras 7.2

Derived classes must implement __toString().

Return value

string Description of the destination being migrated into

Overrides MigrateDestination::__toString

File

./webform.inc, line 80

Class

MigrateDestinationWebformSubmission
Destination class for the webform_submissions table.

Code

public function __toString() {
  return t('Submission for the <a href="!link">%title</a> Webform', array(
    '!link' => url('node/' . $this->node->nid),
    '%title' => $this->node->title,
  ));
}