You are here

function composer_manager_relative_vendor_dir in Composer Manager 6.2

Same name and namespace in other branches
  1. 6 composer_manager.writer.inc \composer_manager_relative_vendor_dir()
  2. 7.2 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

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

File

./composer_manager.writer.inc, line 284
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());
}