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

Breadcrumb

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

function InstallerInterface::isInstalled

Checks that provided package is installed.

Parameters

InstalledRepositoryInterface $repo repository in which to check:

PackageInterface $package package instance:

Return value

bool

4 methods override InstallerInterface::isInstalled()
LibraryInstaller::isInstalled in vendor/composer/composer/src/Composer/Installer/LibraryInstaller.php
@inheritDoc
MetapackageInstaller::isInstalled in vendor/composer/composer/src/Composer/Installer/MetapackageInstaller.php
@inheritDoc
NoopInstaller::isInstalled in vendor/composer/composer/src/Composer/Installer/NoopInstaller.php
@inheritDoc
ProjectInstaller::isInstalled in vendor/composer/composer/src/Composer/Installer/ProjectInstaller.php
@inheritDoc

File

vendor/composer/composer/src/Composer/Installer/InstallerInterface.php, line 43

Class

InstallerInterface
Interface for the package installation manager.

Namespace

Composer\Installer

Code

public function isInstalled(InstalledRepositoryInterface $repo, PackageInterface $package);

API Navigation

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