You are here

public function File::setRequestHeaders in Migrate Plus 8.3

Same name and namespace in other branches
  1. 8.5 src/Plugin/migrate_plus/data_fetcher/File.php \Drupal\migrate_plus\Plugin\migrate_plus\data_fetcher\File::setRequestHeaders()
  2. 8.2 src/Plugin/migrate_plus/data_fetcher/File.php \Drupal\migrate_plus\Plugin\migrate_plus\data_fetcher\File::setRequestHeaders()
  3. 8.4 src/Plugin/migrate_plus/data_fetcher/File.php \Drupal\migrate_plus\Plugin\migrate_plus\data_fetcher\File::setRequestHeaders()

Set the client headers.

Parameters

$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_fetcher

Code

public function setRequestHeaders(array $headers) {

  // Does nothing.
}