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

Breadcrumb

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

function PreFileDownloadEvent::setCustomCacheKey

Sets a custom package cache key for this download.

Parameters

string|null $customCacheKey New cache key:

File

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

Class

PreFileDownloadEvent
The pre file download event.

Namespace

Composer\Plugin

Code

public function setCustomCacheKey(?string $customCacheKey) : void {
    $this->customCacheKey = $customCacheKey;
}
RSS feed
Powered by Drupal