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

Breadcrumb

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

function LibraryInstaller::supports

@inheritDoc

Overrides InstallerInterface::supports

2 methods override LibraryInstaller::supports()
Installer::supports in vendor/composer/installers/src/Composer/Installers/Installer.php
PluginInstaller::supports in vendor/composer/composer/src/Composer/Installer/PluginInstaller.php
@inheritDoc

File

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

Class

LibraryInstaller
Package installation manager.

Namespace

Composer\Installer

Code

public function supports(string $packageType) {
    return $packageType === $this->type || null === $this->type;
}

API Navigation

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