public function File::getResponseContent in Migrate Plus 8.5
Same name and namespace in other branches
- 8.2 src/Plugin/migrate_plus/data_fetcher/File.php \Drupal\migrate_plus\Plugin\migrate_plus\data_fetcher\File::getResponseContent()
- 8.3 src/Plugin/migrate_plus/data_fetcher/File.php \Drupal\migrate_plus\Plugin\migrate_plus\data_fetcher\File::getResponseContent()
- 8.4 src/Plugin/migrate_plus/data_fetcher/File.php \Drupal\migrate_plus\Plugin\migrate_plus\data_fetcher\File::getResponseContent()
Return content.
Parameters
string $url: URL to retrieve from.
Return value
string Content at the given url.
Overrides DataFetcherPluginInterface::getResponseContent
File
- src/
Plugin/ migrate_plus/ data_fetcher/ File.php, line 47
Class
- File
- Retrieve data from a local path or general URL for migration.
Namespace
Drupal\migrate_plus\Plugin\migrate_plus\data_fetcherCode
public function getResponseContent($url) {
$response = $this
->getResponse($url);
return $response;
}