public function ScaffoldOptions::locations in Drupal 9
Same name and namespace in other branches
- 8 composer/Plugin/Scaffold/ScaffoldOptions.php \Drupal\Composer\Plugin\Scaffold\ScaffoldOptions::locations()
Gets the location mapping table, e.g. 'webroot' => './'.
Return value
array A map of name : location values
1 call to ScaffoldOptions::locations()
- ScaffoldOptions::hasLocation in composer/
Plugin/ Scaffold/ ScaffoldOptions.php - Determines whether a given named location is defined.
File
- composer/
Plugin/ Scaffold/ ScaffoldOptions.php, line 123
Class
- ScaffoldOptions
- Per-project options from the 'extras' section of the composer.json file.
Namespace
Drupal\Composer\Plugin\ScaffoldCode
public function locations() {
return $this->options['locations'];
}