You are here

public function ManageOptions::getOptions in Drupal 8

Same name and namespace in other branches
  1. 9 composer/Plugin/Scaffold/ManageOptions.php \Drupal\Composer\Plugin\Scaffold\ManageOptions::getOptions()
  2. 10 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\Scaffold

Code

public function getOptions() {
  return $this
    ->packageOptions($this->composer
    ->getPackage());
}