function Config::__construct
Same name in this branch
- 10 core/modules/migrate/src/Plugin/migrate/destination/Config.php \Drupal\migrate\Plugin\migrate\destination\Config::__construct()
- 10 core/lib/Drupal/Core/Config/Config.php \Drupal\Core\Config\Config::__construct()
Same name in other branches
- 9 composer/Plugin/VendorHardening/Config.php \Drupal\Composer\Plugin\VendorHardening\Config::__construct()
- 9 core/modules/migrate/src/Plugin/migrate/destination/Config.php \Drupal\migrate\Plugin\migrate\destination\Config::__construct()
- 9 core/lib/Drupal/Core/Config/Config.php \Drupal\Core\Config\Config::__construct()
- 8.9.x composer/Plugin/VendorHardening/Config.php \Drupal\Composer\Plugin\VendorHardening\Config::__construct()
- 8.9.x core/modules/migrate/src/Plugin/migrate/destination/Config.php \Drupal\migrate\Plugin\migrate\destination\Config::__construct()
- 8.9.x core/lib/Drupal/Core/Config/Config.php \Drupal\Core\Config\Config::__construct()
- 11.x composer/Plugin/VendorHardening/Config.php \Drupal\Composer\Plugin\VendorHardening\Config::__construct()
- 11.x core/modules/migrate/src/Plugin/migrate/destination/Config.php \Drupal\migrate\Plugin\migrate\destination\Config::__construct()
- 11.x core/lib/Drupal/Core/Config/Config.php \Drupal\Core\Config\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\VendorHardeningCode
public function __construct(RootPackageInterface $root_package) {
$this->rootPackage = $root_package;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.