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