function ManageOptions::getOptions

Same name in other branches
  1. 8.9.x composer/Plugin/Scaffold/ManageOptions.php \Drupal\Composer\Plugin\Scaffold\ManageOptions::getOptions()
  2. 10 composer/Plugin/Scaffold/ManageOptions.php \Drupal\Composer\Plugin\Scaffold\ManageOptions::getOptions()
  3. 11.x 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());
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.