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

Breadcrumb

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

function LibraryInstaller::installCode

@phpstan-return PromiseInterface<void|null>|null

Return value

PromiseInterface|null

2 calls to LibraryInstaller::installCode()
LibraryInstaller::install in vendor/composer/composer/src/Composer/Installer/LibraryInstaller.php
@inheritDoc
LibraryInstaller::updateCode in vendor/composer/composer/src/Composer/Installer/LibraryInstaller.php
@phpstan-return PromiseInterface<void|null>|null

File

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

Class

LibraryInstaller
Package installation manager.

Namespace

Composer\Installer

Code

protected function installCode(PackageInterface $package) {
    $downloadPath = $this->getInstallPath($package);
    return $this->getDownloadManager()
        ->install($package, $downloadPath);
}

API Navigation

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