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

Breadcrumb

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

function PluginInstaller::supports

@inheritDoc

Overrides LibraryInstaller::supports

File

vendor/composer/composer/src/Composer/Installer/PluginInstaller.php, line 41

Class

PluginInstaller
Installer for plugin packages

Namespace

Composer\Installer

Code

public function supports(string $packageType) {
    return $packageType === 'composer-plugin' || $packageType === 'composer-installer';
}

API Navigation

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