public function ExceptionThrowingTestSource::__toString in Migrate Tools 8.5
Same name and namespace in other branches
- 8.4 tests/modules/migrate_tools_test/src/Plugin/migrate/source/ExceptionThrowingTestSource.php \Drupal\migrate_tools_test\Plugin\migrate\source\ExceptionThrowingTestSource::__toString()
Allows class to decide how it will react when it is treated like a string.
Overrides MigrateSourceInterface::__toString
File
- tests/
modules/ migrate_tools_test/ src/ Plugin/ migrate/ source/ ExceptionThrowingTestSource.php, line 27
Class
- ExceptionThrowingTestSource
- A simple migrate source for testing exception handling.
Namespace
Drupal\migrate_tools_test\Plugin\migrate\sourceCode
public function __toString() {
return '';
}