public function Http::getRequestHeaders in Migrate Plus 8.4
Same name and namespace in other branches
- 8.5 src/Plugin/migrate_plus/data_fetcher/Http.php \Drupal\migrate_plus\Plugin\migrate_plus\data_fetcher\Http::getRequestHeaders()
- 8 src/Plugin/migrate_plus/data_fetcher/Http.php \Drupal\migrate_plus\Plugin\migrate_plus\data_fetcher\Http::getRequestHeaders()
- 8.2 src/Plugin/migrate_plus/data_fetcher/Http.php \Drupal\migrate_plus\Plugin\migrate_plus\data_fetcher\Http::getRequestHeaders()
- 8.3 src/Plugin/migrate_plus/data_fetcher/Http.php \Drupal\migrate_plus\Plugin\migrate_plus\data_fetcher\Http::getRequestHeaders()
Get the currently set request headers.
Overrides DataFetcherPluginInterface::getRequestHeaders
1 call to Http::getRequestHeaders()
- Http::getResponse in src/
Plugin/ migrate_plus/ data_fetcher/ Http.php - Return Http Response object for a given url.
File
- src/
Plugin/ migrate_plus/ data_fetcher/ Http.php, line 89
Class
- Http
- Retrieve data over an HTTP connection for migration.
Namespace
Drupal\migrate_plus\Plugin\migrate_plus\data_fetcherCode
public function getRequestHeaders() {
return !empty($this->headers) ? $this->headers : [];
}