public function ManageOptions::getOptions in Drupal 9
Same name and namespace in other branches
- 8 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.
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());
}