You are here

public function Config::__construct in Drupal 9

Same name in this branch
  1. 9 composer/Plugin/VendorHardening/Config.php \Drupal\Composer\Plugin\VendorHardening\Config::__construct()
  2. 9 core/lib/Drupal/Core/Config/Config.php \Drupal\Core\Config\Config::__construct()
  3. 9 core/modules/migrate/src/Plugin/migrate/destination/Config.php \Drupal\migrate\Plugin\migrate\destination\Config::__construct()
Same name and namespace in other branches
  1. 8 composer/Plugin/VendorHardening/Config.php \Drupal\Composer\Plugin\VendorHardening\Config::__construct()
  2. 10 composer/Plugin/VendorHardening/Config.php \Drupal\Composer\Plugin\VendorHardening\Config::__construct()

Construct a Config object.

Parameters

\Composer\Package\RootPackageInterface $root_package: Composer package object for the root package.

File

composer/Plugin/VendorHardening/Config.php, line 110

Class

Config
Determine configuration.

Namespace

Drupal\Composer\Plugin\VendorHardening

Code

public function __construct(RootPackageInterface $root_package) {
  $this->rootPackage = $root_package;
}