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

Breadcrumb

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

function DownloadManager::setPreferences

Sets fine tuned preference settings for package level source/dist selection.

Parameters

array<string, string> $preferences array of preferences by package patterns:

Return value

DownloadManager

File

vendor/composer/composer/src/Composer/Downloader/DownloadManager.php, line 89

Class

DownloadManager
Downloaders manager.

Namespace

Composer\Downloader

Code

public function setPreferences(array $preferences) : self {
    $this->packagePreferences = $preferences;
    return $this;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal