Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. PreFileDownloadEvent.php

function PreFileDownloadEvent::setTransportOptions

Sets transport options for the download.

Only available for events with type metadata, for packages set the transport options on the package itself.

Parameters

mixed[] $options:

File

vendor/composer/composer/src/Composer/Plugin/PreFileDownloadEvent.php, line 154

Class

PreFileDownloadEvent
The pre file download event.

Namespace

Composer\Plugin

Code

public function setTransportOptions(array $options) : void {
    $this->transportOptions = $options;
}
RSS feed
Powered by Drupal