You are here

function composer_manager_relative_vendor_dir in Composer Manager 7.2

Same name and namespace in other branches
  1. 6.2 composer_manager.writer.inc \composer_manager_relative_vendor_dir()
  2. 6 composer_manager.writer.inc \composer_manager_relative_vendor_dir()
  3. 7 composer_manager.writer.inc \composer_manager_relative_vendor_dir()

Returns the vendor directory relative to the composer file directory.

Return value

string

Throws

\RuntimeException If the vendor or file directories cannot be determined.

1 call to composer_manager_relative_vendor_dir()
composer_manager_build_json in ./composer_manager.writer.inc
Builds the JSON array containing the combined requirements of each module's composer.json file.

File

./composer_manager.writer.inc, line 408
Functions related to the creation of the consolidated composer.json file.

Code

function composer_manager_relative_vendor_dir() {
  return composer_manager_relative_dir(composer_manager_vendor_dir(), composer_manager_file_dir());
}