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

Breadcrumb

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

function ProjectInstaller::getInstallPath

Returns the installation path of a package

Return value

string configured install path

Overrides InstallerInterface::getInstallPath

File

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

Class

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

Namespace

Composer\Installer

Code

public function getInstallPath(PackageInterface $package) : string {
    return $this->installPath;
}

API Navigation

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