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

Breadcrumb

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

function InstallerInterface::getInstallPath

Returns the absolute installation path of a package.

Return value

string|null absolute path to install to, which MUST not end with a slash, or null if the package does not have anything installed on disk

4 methods override InstallerInterface::getInstallPath()
LibraryInstaller::getInstallPath in vendor/composer/composer/src/Composer/Installer/LibraryInstaller.php
@inheritDoc
MetapackageInstaller::getInstallPath in vendor/composer/composer/src/Composer/Installer/MetapackageInstaller.php
@inheritDoc
NoopInstaller::getInstallPath in vendor/composer/composer/src/Composer/Installer/NoopInstaller.php
@inheritDoc
ProjectInstaller::getInstallPath in vendor/composer/composer/src/Composer/Installer/ProjectInstaller.php
Returns the installation path of a package

File

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

Class

InstallerInterface
Interface for the package installation manager.

Namespace

Composer\Installer

Code

public function getInstallPath(PackageInterface $package);

API Navigation

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