Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Config.php

function Config::__construct

Same name in this branch
  1. 11.1.x vendor/composer/composer/src/Composer/Config.php \Composer\Config::__construct()
  2. 11.1.x vendor/squizlabs/php_codesniffer/src/Config.php \PHP_CodeSniffer\Config::__construct()
  3. 11.1.x core/lib/Drupal/Core/Config/Config.php \Drupal\Core\Config\Config::__construct()
  4. 11.1.x core/modules/migrate/src/Plugin/migrate/destination/Config.php \Drupal\migrate\Plugin\migrate\destination\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 105

Class

Config
Determine configuration.

Namespace

Drupal\Composer\Plugin\VendorHardening

Code

public function __construct(RootPackageInterface $root_package) {
    $this->rootPackage = $root_package;
}
RSS feed
Powered by Drupal