public function CustomServicesEditForm::__construct in Shorten URLs 8.2
CustomServicesEditForm constructor.
Parameters
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
\Drupal\Core\Database\Connection $database: The database connection.
\Drupal\Core\Form\FormBuilderInterface $form_builder: The form builder.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.
Overrides ConfigFormBase::__construct
File
- modules/
shorten_cs/ src/ Form/ CustomServicesEditForm.php, line 51
Class
- CustomServicesEditForm
- Settings form.
Namespace
Drupal\shorten_cs\FormCode
public function __construct(ModuleHandlerInterface $module_handler, Connection $database, FormBuilderInterface $form_builder, ConfigFactoryInterface $config_factory) {
parent::__construct($config_factory);
$this->moduleHandler = $module_handler;
$this->database = $database;
$this->formBuilder = $form_builder;
}