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

Breadcrumb

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

function MetapackageInstaller::isInstalled

@inheritDoc

Overrides InstallerInterface::isInstalled

File

vendor/composer/composer/src/Composer/Installer/MetapackageInstaller.php, line 48

Class

MetapackageInstaller
Metapackage installation manager.

Namespace

Composer\Installer

Code

public function isInstalled(InstalledRepositoryInterface $repo, PackageInterface $package) {
    return $repo->hasPackage($package);
}

API Navigation

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