function MockPathLocator::getVendorDirectory
Same name and namespace in other branches
- 11.x core/modules/package_manager/tests/modules/package_manager_bypass/src/MockPathLocator.php \Drupal\package_manager_bypass\MockPathLocator::getVendorDirectory()
1 call to MockPathLocator::getVendorDirectory()
- MockPathLocator::getProjectRoot in core/
modules/ package_manager/ tests/ modules/ package_manager_bypass/ src/ MockPathLocator.php
File
-
core/
modules/ package_manager/ tests/ modules/ package_manager_bypass/ src/ MockPathLocator.php, line 53
Class
- MockPathLocator
- Mock path locator: allows specifying paths instead of discovering paths.
Namespace
Drupal\package_manager_bypassCode
public function getVendorDirectory() : string {
return $this->state
->get(static::class . ' vendor', parent::getVendorDirectory());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.