You are here

public static function ComposerDeployHandler::fromVendorDir in Composer Deploy 7

Same name and namespace in other branches
  1. 8 src/ComposerDeployHandler.php \Drupal\composer_deploy\ComposerDeployHandler::fromVendorDir()
1 call to ComposerDeployHandler::fromVendorDir()
composer_deploy_system_info_alter in ./composer_deploy.module
Implements hook_system_info_alter().

File

includes/ComposerDeployHandler.php, line 31
Contains \Drupal\composer_deploy\ComposerDeployHandler.

Class

ComposerDeployHandler

Namespace

Drupal\composer_deploy

Code

public static function fromVendorDir($vendor_dir) {
  return new static($vendor_dir . '/composer/installed.json');
}