function StubSourcePlugin::__toString

Allows class to decide how it will react when it is treated like a string.

Overrides MigrateSourceInterface::__toString

File

core/modules/migrate/tests/src/Unit/MigrateSourceTest.php, line 481

Class

StubSourcePlugin
Stubbed source plugin for testing base class implementations.

Namespace

Drupal\Tests\migrate\Unit

Code

public function __toString() {
  return '';
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.