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

Breadcrumb

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

function OxidInstaller::getInstallPath

Overrides BaseInstaller::getInstallPath

File

vendor/composer/installers/src/Composer/Installers/OxidInstaller.php, line 18

Class

OxidInstaller

Namespace

Composer\Installers

Code

public function getInstallPath(PackageInterface $package, string $frameworkType = '') : string {
    $installPath = parent::getInstallPath($package, $frameworkType);
    $type = $this->package
        ->getType();
    if ($type === 'oxid-module') {
        $this->prepareVendorDirectory($installPath);
    }
    return $installPath;
}

API Navigation

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