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

Breadcrumb

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

function InstallationManager::removeInstaller

Removes installer

Parameters

InstallerInterface $installer installer instance:

File

vendor/composer/composer/src/Composer/Installer/InstallationManager.php, line 86

Class

InstallationManager
Package operation manager.

Namespace

Composer\Installer

Code

public function removeInstaller(InstallerInterface $installer) : void {
    if (false !== ($key = array_search($installer, $this->installers, true))) {
        array_splice($this->installers, $key, 1);
        $this->cache = [];
    }
}

API Navigation

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