public function ManageOptions::getOptions in Drupal 10
Same name and namespace in other branches
- 8 composer/Plugin/Scaffold/ManageOptions.php \Drupal\Composer\Plugin\Scaffold\ManageOptions::getOptions()
- 9 composer/Plugin/Scaffold/ManageOptions.php \Drupal\Composer\Plugin\Scaffold\ManageOptions::getOptions()
Gets the root-level scaffold options for this project.
Return value
\Drupal\Composer\Plugin\Scaffold\ScaffoldOptions The scaffold options object.
1 call to ManageOptions::getOptions()
- ManageOptions::ensureLocations in composer/
Plugin/ Scaffold/ ManageOptions.php - Ensures that all of the locations defined in the scaffold files exist.
File
- composer/
Plugin/ Scaffold/ ManageOptions.php, line 43
Class
- ManageOptions
- Per-project options from the 'extras' section of the composer.json file.
Namespace
Drupal\Composer\Plugin\ScaffoldCode
public function getOptions() {
return $this
->packageOptions($this->composer
->getPackage());
}