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

Breadcrumb

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

function Config::setBaseDir

Changing this can break path resolution for relative config paths so do not call this without knowing what you are doing

The $baseDir should be an absolute path and without trailing slash

Parameters

non-empty-string|null $baseDir:

File

vendor/composer/composer/src/Composer/Config.php, line 149

Class

Config
@author Jordi Boggiano <j.boggiano@seld.be>

Namespace

Composer

Code

public function setBaseDir(?string $baseDir) : void {
    $this->baseDir = $baseDir;
}
RSS feed
Powered by Drupal