public function ConfigForm::__construct in Menu Link Attributes 8
Constructs a ConfigForm object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The handle of module objects.
Overrides ConfigFormBase::__construct
File
- src/
Form/ ConfigForm.php, line 37
Class
- ConfigForm
- Class ConfigForm.
Namespace
Drupal\menu_link_attributes\FormCode
public function __construct(ConfigFactoryInterface $config_factory, ModuleHandlerInterface $module_handler) {
$this
->setConfigFactory($config_factory);
$this->moduleHandler = $module_handler;
}