public function ModulesWeight::__construct in Modules weight 8
Same name and namespace in other branches
- 8.2 src/ModulesWeight.php \Drupal\modules_weight\ModulesWeight::__construct()
Constructs a new ModulesWeight object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The configuration factory.
\Drupal\Core\Extension\ModuleExtensionList $module_extension_list: The module extension list.
File
- src/
ModulesWeight.php, line 37
Class
- ModulesWeight
- Class ModulesWeight.
Namespace
Drupal\modules_weightCode
public function __construct(ConfigFactoryInterface $config_factory, ModuleExtensionList $module_extension_list) {
$this->configFactory = $config_factory;
$this->moduleExtensionList = $module_extension_list;
}