function DrupalCoreComposer::rootComposerJson

Same name and namespace in other branches
  1. 10 composer/Generator/Util/DrupalCoreComposer.php \Drupal\Composer\Generator\Util\DrupalCoreComposer::rootComposerJson()
  2. 11.x composer/Generator/Util/DrupalCoreComposer.php \Drupal\Composer\Generator\Util\DrupalCoreComposer::rootComposerJson()
  3. 8.9.x composer/Generator/Util/DrupalCoreComposer.php \Drupal\Composer\Generator\Util\DrupalCoreComposer::rootComposerJson()

Fetch the composer data from the root drupal/drupal project.

Return value

array Composer json data

File

composer/Generator/Util/DrupalCoreComposer.php, line 61

Class

DrupalCoreComposer
Utilities for accessing composer.json data from drupal/drupal and drupal/core.

Namespace

Drupal\Composer\Generator\Util

Code

public function rootComposerJson() {
  return $this->composerJson;
}

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