public function Url::__toString in Migrate Plus 8.5
Same name and namespace in other branches
- 8 src/Plugin/migrate/source/Url.php \Drupal\migrate_plus\Plugin\migrate\source\Url::__toString()
- 8.2 src/Plugin/migrate/source/Url.php \Drupal\migrate_plus\Plugin\migrate\source\Url::__toString()
- 8.3 src/Plugin/migrate/source/Url.php \Drupal\migrate_plus\Plugin\migrate\source\Url::__toString()
- 8.4 src/Plugin/migrate/source/Url.php \Drupal\migrate_plus\Plugin\migrate\source\Url::__toString()
Return a string representing the source URLs.
Return value
string Comma-separated list of URLs being imported.
Overrides MigrateSourceInterface::__toString
File
- src/
Plugin/ migrate/ source/ Url.php, line 48
Class
- Url
- Source plugin for retrieving data via URLs.
Namespace
Drupal\migrate_plus\Plugin\migrate\sourceCode
public function __toString() {
// This could cause a problem when using a lot of urls, may need to hash.
$urls = implode(', ', $this->sourceUrls);
return $urls;
}