public function File::setRequestHeaders in Migrate Plus 8.4
Same name and namespace in other branches
- 8.5 src/Plugin/migrate_plus/data_fetcher/File.php \Drupal\migrate_plus\Plugin\migrate_plus\data_fetcher\File::setRequestHeaders()
- 8.2 src/Plugin/migrate_plus/data_fetcher/File.php \Drupal\migrate_plus\Plugin\migrate_plus\data_fetcher\File::setRequestHeaders()
- 8.3 src/Plugin/migrate_plus/data_fetcher/File.php \Drupal\migrate_plus\Plugin\migrate_plus\data_fetcher\File::setRequestHeaders()
Set the client headers.
Parameters
array $headers: An array of the headers to set on the HTTP request.
Overrides DataFetcherPluginInterface::setRequestHeaders
File
- src/
Plugin/ migrate_plus/ data_fetcher/ File.php, line 21
Class
- File
- Retrieve data from a local path or general URL for migration.
Namespace
Drupal\migrate_plus\Plugin\migrate_plus\data_fetcherCode
public function setRequestHeaders(array $headers) {
// Does nothing.
}