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

Breadcrumb

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

function LibraryInstaller::removeCode

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

Return value

PromiseInterface|null

2 calls to LibraryInstaller::removeCode()
LibraryInstaller::uninstall 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 323

Class

LibraryInstaller
Package installation manager.

Namespace

Composer\Installer

Code

protected function removeCode(PackageInterface $package) {
    $downloadPath = $this->getPackageBasePath($package);
    return $this->getDownloadManager()
        ->remove($package, $downloadPath);
}

API Navigation

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