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

Breadcrumb

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

function LibraryInstaller::prepare

@inheritDoc

Overrides InstallerInterface::prepare

2 calls to LibraryInstaller::prepare()
PluginInstaller::prepare in vendor/composer/composer/src/Composer/Installer/PluginInstaller.php
@inheritDoc
PluginInstaller::prepare in vendor/composer/composer/src/Composer/Installer/PluginInstaller.php
@inheritDoc
1 method overrides LibraryInstaller::prepare()
PluginInstaller::prepare in vendor/composer/composer/src/Composer/Installer/PluginInstaller.php
@inheritDoc

File

vendor/composer/composer/src/Composer/Installer/LibraryInstaller.php, line 120

Class

LibraryInstaller
Package installation manager.

Namespace

Composer\Installer

Code

public function prepare($type, PackageInterface $package, ?PackageInterface $prevPackage = null) {
    $this->initializeVendorDir();
    $downloadPath = $this->getInstallPath($package);
    return $this->getDownloadManager()
        ->prepare($type, $package, $downloadPath, $prevPackage);
}

API Navigation

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