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

Breadcrumb

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

function NoopInstaller::getInstallPath

@inheritDoc

Overrides InstallerInterface::getInstallPath

File

vendor/composer/composer/src/Composer/Installer/NoopInstaller.php, line 112

Class

NoopInstaller
Does not install anything but marks packages installed in the repo

Namespace

Composer\Installer

Code

public function getInstallPath(PackageInterface $package) {
    $targetDir = $package->getTargetDir();
    return $package->getPrettyName() . ($targetDir ? '/' . $targetDir : '');
}

API Navigation

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