function ScaffoldOptions::locations
Same name in other branches
- 9 composer/Plugin/Scaffold/ScaffoldOptions.php \Drupal\Composer\Plugin\Scaffold\ScaffoldOptions::locations()
- 8.9.x composer/Plugin/Scaffold/ScaffoldOptions.php \Drupal\Composer\Plugin\Scaffold\ScaffoldOptions::locations()
- 11.x 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'];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.