You are here

public function File::getRequestHeaders in Migrate Plus 8.5

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

Get the currently set request headers.

Overrides DataFetcherPluginInterface::getRequestHeaders

File

src/Plugin/migrate_plus/data_fetcher/File.php, line 28

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 getRequestHeaders() {

  // Does nothing.
  return [];
}