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

Breadcrumb

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

function ProjectInstaller::supports

Decides if the installer supports the given type

Overrides InstallerInterface::supports

File

vendor/composer/composer/src/Composer/Installer/ProjectInstaller.php, line 46

Class

ProjectInstaller
Project Installer is used to install a single package into a directory as root project.

Namespace

Composer\Installer

Code

public function supports(string $packageType) : bool {
    return true;
}

API Navigation

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